From b7243bcbd8daa4d464c918a85e7b5cbaaff1fb65 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 15 Jul 2009 16:35:45 +0000 Subject: [PATCH] Fix for OSX compiler bug --- makepanda/makepanda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index e54c942f6c..da6e851345 100755 --- a/makepanda/makepanda.py +++ b/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