From fbc72ceaee7b959fe0ca9b026a67d52850aaf8c1 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 11 Dec 2017 15:49:07 +0100 Subject: [PATCH] build: fix build on picky systems there are a few systems out there that are checking the .so files that are linked dynamically into a created shared library. This leads to a problem, since the .so files often also carries unresolved symbols, which are resolved by other dynamic linked .so files. However, to ship arround those picky systems, we are not reacting to unresolved symbols at all for now. The error will rise at runtime and come up in a nice little dialog instead. this fixes build on bsd --- src/modules/meson.build | 4 ++-- src/modules/wizard/meson.build | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/meson.build b/src/modules/meson.build index 974a79ced..11b93df3f 100644 --- a/src/modules/meson.build +++ b/src/modules/meson.build @@ -135,7 +135,7 @@ foreach m: mods dependencies : [ module_deps, deps ], install_dir : _dir_bin, install : true, - link_args : '-Wl,--unresolved-symbols=ignore-in-object-files' + link_args : '-Wl,--unresolved-symbols=ignore-all' ) else shared_module(m, src, @@ -145,7 +145,7 @@ foreach m: mods dependencies : [ module_deps, deps ], install_dir : _dir_bin, install : true, - link_args : '-Wl,--unresolved-symbols=ignore-in-object-files' + link_args : '-Wl,--unresolved-symbols=ignore-all' ) endif endif diff --git a/src/modules/wizard/meson.build b/src/modules/wizard/meson.build index 9670536e6..80b1b7150 100644 --- a/src/modules/wizard/meson.build +++ b/src/modules/wizard/meson.build @@ -35,7 +35,7 @@ if get_option(m) == true dependencies : module_deps, install_dir : _dir_bin, install : true, - link_args : '-Wl,--unresolved-symbols=ignore-in-object-files' + link_args : '-Wl,--unresolved-symbols=ignore-all' ) endforeach