فهرست منبع

Fix for OSX compiler bug

rdb 16 سال پیش
والد
کامیت
b7243bcbd8
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      makepanda/makepanda.py

+ 2 - 1
makepanda/makepanda.py

@@ -487,8 +487,9 @@ printStatus("Makepanda Initial Status Report", WARNINGS)
 ########################################################################
 
 def BracketNameWithQuotes(name):
-    # Workaround for OSX bug - compiler doesn't like quoted "-framework Blah" there.
+    # Workaround for OSX bug - compiler doesn't like those flags quoted.
     if (name.startswith("-framework")): return name
+    if (name.startswith("-dylib_file")): return name
     
     # Account for quoted name (leave as is) but quote everything else (e.g., to protect spaces within paths from improper parsing)
     if (name.startswith('"') and name.endswith('"')): return name