Browse Source

oops, left in a parameter

David Rose 16 years ago
parent
commit
4274626c67
2 changed files with 2 additions and 5 deletions
  1. 1 4
      direct/src/showutil/FreezeTool.py
  2. 1 1
      direct/src/showutil/runp3d.py

+ 1 - 4
direct/src/showutil/FreezeTool.py

@@ -57,11 +57,8 @@ elif sys.platform == 'darwin':
     # OSX
     # OSX
     compileObj = "gcc -fPIC -c -o %(basename)s.o -O2 -I%(pythonIPath)s %(filename)s"
     compileObj = "gcc -fPIC -c -o %(basename)s.o -O2 -I%(pythonIPath)s %(filename)s"
     linkExe = "gcc -o %(basename)s %(basename)s.o -framework Python"
     linkExe = "gcc -o %(basename)s %(basename)s.o -framework Python"
-    linkDll = "gcc -undefined dynamic_lookup -bundle -o %(basename)s.so %(basename)s.o -framework Python"
-    #PythonLPath = '/Users/drose/player/osxtools/built/lib'
-    #PythonVersion = '2.4_panda'
     #linkExe = "gcc -o %(basename)s %(basename)s.o -lpython%(pythonVersion)s -L%(pythonLPath)s"
     #linkExe = "gcc -o %(basename)s %(basename)s.o -lpython%(pythonVersion)s -L%(pythonLPath)s"
-    #linkDll = "gcc -undefined dynamic_lookup -bundle -o %(basename)s.so %(basename)s.o -lpython%(pythonVersion)s -L%(pythonLPath)s"
+    linkDll = "gcc -undefined dynamic_lookup -bundle -o %(basename)s.so %(basename)s.o"
 
 
 else:
 else:
     # Linux
     # Linux

+ 1 - 1
direct/src/showutil/runp3d.py

@@ -461,7 +461,7 @@ class AppRunner(DirectObject):
         return (osFilename, tokens)
         return (osFilename, tokens)
 
 
 if __name__ == '__main__':
 if __name__ == '__main__':
-    runner = AppRunner(0)
+    runner = AppRunner()
     runner.gotWindow = True
     runner.gotWindow = True
     try:
     try:
         runner.setP3DFilename(*runner.parseSysArgs())
         runner.setP3DFilename(*runner.parseSysArgs())