Use export_dynamic

Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2018-03-08 11:03:38 +01:00
parent 8d1cfa8bdc
commit 73dcfdd82b
2 changed files with 3 additions and 9 deletions

2
README
View File

@ -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)

View File

@ -1,6 +1,6 @@
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 = [
] ]
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(
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')