diff options
-rw-r--r-- | src/SConscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SConscript b/src/SConscript index b9c9537a..3e0c2e83 100644 --- a/src/SConscript +++ b/src/SConscript @@ -244,6 +244,7 @@ fullstatic_libs = GatherLibs(env, fullstaticlib) fullstatic_linkflags = [staticenv['LINKFLAGS'], '-static'] if (('pthread' in fullstatic_libs) or ('pcre' in fullstatic_libs)) and (platform.system() == 'Linux'): fullstatic_linkflags += ['-Wl,--whole-archive','-lpthread','-Wl,--no-whole-archive'] + fullstatic_libs.remove('pthread') ## includes all modules, linked statically fullstaticbin = staticenv.Program('../fullstatic/build/lighttpd', |