mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:06:00 +01:00
Use export_dynamic
Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
This commit is contained in:
parent
8d1cfa8bdc
commit
73dcfdd82b
2 changed files with 3 additions and 9 deletions
2
README
2
README
|
@ -7,7 +7,7 @@ girara user interface library and several document libraries.
|
|||
Requirements
|
||||
------------
|
||||
|
||||
meson (>= 0.43)
|
||||
meson (>= 0.45)
|
||||
gtk3 (>= 3.22)
|
||||
glib (>= 2.50)
|
||||
girara (>= 0.2.8)
|
||||
|
|
10
meson.build
10
meson.build
|
@ -1,6 +1,6 @@
|
|||
project('zathura', 'c',
|
||||
version: '0.3.8',
|
||||
meson_version: '>=0.43',
|
||||
meson_version: '>=0.45',
|
||||
default_options: 'c_std=c11',
|
||||
)
|
||||
|
||||
|
@ -65,12 +65,6 @@ flags = [
|
|||
]
|
||||
flags = cc.get_supported_arguments(flags)
|
||||
|
||||
# linker flags
|
||||
linker_flags = [
|
||||
'-rdynamic'
|
||||
]
|
||||
linker_flags = cc.get_supported_arguments(linker_flags)
|
||||
|
||||
# optional dependencies
|
||||
additional_sources = []
|
||||
sqlite = dependency('sqlite3', version: '>=3.5.9', required: false)
|
||||
|
@ -167,7 +161,7 @@ zathura = executable(
|
|||
install: true,
|
||||
include_directories: include_directories,
|
||||
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
|
||||
)
|
||||
install_headers(headers, subdir: 'zathura')
|
||||
|
|
Loading…
Reference in a new issue