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:
parent
e23ac1044b
commit
fc9e6b10b4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue