mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix for OSX compiler bug
This commit is contained in:
parent
c8721364ab
commit
b7243bcbd8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user