diff options
author | Stefan Bühler <stbuehler@web.de> | 2016-10-29 20:00:03 +0200 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2016-10-29 20:00:03 +0200 |
commit | ca074babb1de43ac10a53ac9f6b6abf8f69ed3d3 (patch) | |
tree | f2260bd1037c657029e9a8e61809372ef044ddd4 /src/SConscript | |
parent | fbe3a849072f48d6ed33992536b4cbcb361c6cb1 (diff) | |
download | lighttpd-git-ca074babb1de43ac10a53ac9f6b6abf8f69ed3d3.tar.gz |
[scons] only apply FreeBSD11 workaround on FreeBSD
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript index 2f3b5a3b..6e830411 100644 --- a/src/SConscript +++ b/src/SConscript @@ -40,7 +40,8 @@ def WorkaroundFreeBSDLibOrder(libs): # which "on purpose" might conflict with those in libc # => link libc first solves this # (required for FreeBSD11 fullstatic build) - if 'c' in libs: + import platform + if ('c' in libs) and (platform.system() == 'FreeBSD'): return ['c'] + libs return libs |