mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 06:13:46 +01:00
Use export_dynamic
Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
This commit is contained in:
parent
8d1cfa8bdc
commit
73dcfdd82b
2
README
2
README
@ -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)
|
||||||
|
10
meson.build
10
meson.build
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user