Explorar el Código

oops, left in a parameter

David Rose hace 16 años
padre
commit
4274626c67
Se han modificado 2 ficheros con 2 adiciones y 5 borrados
  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
     compileObj = "gcc -fPIC -c -o %(basename)s.o -O2 -I%(pythonIPath)s %(filename)s"
     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"
-    #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:
     # Linux

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

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