|
@@ -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
|