Browse Source

oops, I broke non-OSX build

rdb 11 years ago
parent
commit
1bf3738124
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepandacore.py

+ 1 - 1
makepanda/makepandacore.py

@@ -2282,7 +2282,7 @@ def SetupBuildEnvironment(compiler):
             # We need to add this one explicitly.
             SYS_LIB_DIRS.append(SDK["MACOSX"] + "/usr/lib")
 
-        elif not SDK["MACOSX"]:
+        if not SDK.get("MACOSX"):
             # gcc doesn't add this one, but we do want it:
             local_lib = SDK.get("SYSROOT", "") + "/usr/local/lib"
             if os.path.isdir(local_lib):