Browse Source

hack fix for the wx compile error on osx

rdb 14 years ago
parent
commit
8d035dd14d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepandacore.py

+ 1 - 1
makepanda/makepandacore.py

@@ -994,7 +994,7 @@ def PkgConfigGetLibs(pkgname, tool = "pkg-config"):
     handle.close()
     libs = []
     for l in result.split(" "):
-        if l.startswith("-l") or not l.startswith("-"):
+        if l.startswith("-l") or l.startswith("/"):
             libs.append(l)
     return libs