From 73dcfdd82b10c61449d464ed90d2f5a36b0ea242 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 8 Mar 2018 11:03:38 +0100 Subject: [PATCH] Use export_dynamic Signed-off-by: Sebastian Ramacher --- README | 2 +- meson.build | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/README b/README index dcb3e75..914a672 100644 --- a/README +++ b/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) diff --git a/meson.build b/meson.build index 59b86c3..41fe169 100644 --- a/meson.build +++ b/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')