Commit 73dcfdd8 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Use export_dynamic

Signed-off-by: default avatarSebastian Ramacher <sebastian@ramacher.at>
parent 8d1cfa8b
...@@ -7,7 +7,7 @@ girara user interface library and several document libraries. ...@@ -7,7 +7,7 @@ girara user interface library and several document libraries.
Requirements Requirements
------------ ------------
meson (>= 0.43) meson (>= 0.45)
gtk3 (>= 3.22) gtk3 (>= 3.22)
glib (>= 2.50) glib (>= 2.50)
girara (>= 0.2.8) girara (>= 0.2.8)
......
project('zathura', 'c', project('zathura', 'c',
version: '0.3.8', version: '0.3.8',
meson_version: '>=0.43', meson_version: '>=0.45',
default_options: 'c_std=c11', default_options: 'c_std=c11',
) )
...@@ -65,12 +65,6 @@ flags = [ ...@@ -65,12 +65,6 @@ flags = [
] ]
flags = cc.get_supported_arguments(flags) flags = cc.get_supported_arguments(flags)
# linker flags
linker_flags = [
'-rdynamic'
]
linker_flags = cc.get_supported_arguments(linker_flags)
# optional dependencies # optional dependencies
additional_sources = [] additional_sources = []
sqlite = dependency('sqlite3', version: '>=3.5.9', required: false) sqlite = dependency('sqlite3', version: '>=3.5.9', required: false)
...@@ -167,7 +161,7 @@ zathura = executable( ...@@ -167,7 +161,7 @@ zathura = executable(
install: true, install: true,
include_directories: include_directories, include_directories: include_directories,
c_args: defines + flags, c_args: defines + flags,
link_args: linker_flags, # replace with export_dynamic: true once we have meson >= 0.45 export_dynamic: true,
gui_app: true gui_app: true
) )
install_headers(headers, subdir: 'zathura') install_headers(headers, subdir: 'zathura')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment