various: add -Dbuild-static and alternatives to libc functions
When we try to build with -static, the linker refuses dlopen and various functions related to nss. This commit adds the basic support to compile with -static and allow the link to pass.
This commit is contained in:
@@ -80,6 +80,8 @@ conf.set10('SD_BOOT', false)
|
||||
|
||||
conf.set10('SYSTEMD_MULTICALL_BINARY', get_option('systemd-multicall-binary'))
|
||||
|
||||
conf.set10('BUILD_STATIC', get_option('build-static'))
|
||||
|
||||
# Create a title-less summary section early, so it ends up first in the output.
|
||||
# More items are added later after they have been detected.
|
||||
summary({
|
||||
|
||||
Reference in New Issue
Block a user