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
devs/bu5hm4n/bsd_build_fix
Marcel Hollerbach 5 years ago
parent 45aeda7843
commit fbc72ceaee
  1. 4
      src/modules/meson.build
  2. 2
      src/modules/wizard/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

@ -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…
Cancel
Save