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
This commit is contained in:
Marcel Hollerbach 2017-12-11 15:49:07 +01:00
parent 45aeda7843
commit fbc72ceaee
2 changed files with 3 additions and 3 deletions

View File

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

View File

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