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