From ca074babb1de43ac10a53ac9f6b6abf8f69ed3d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sat, 29 Oct 2016 20:00:03 +0200 Subject: [PATCH] [scons] only apply FreeBSD11 workaround on FreeBSD --- src/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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