Browse Source

Merge pull request #232 from autosquid/master

for python binding to work on mac '.dylib'  should be added to ext_whitelist
Alexander Gessler 11 years ago
parent
commit
5adb6c6cda
1 changed files with 2 additions and 0 deletions
  1. 2 0
      port/PyAssimp/pyassimp/helper.py

+ 2 - 0
port/PyAssimp/pyassimp/helper.py

@@ -27,6 +27,8 @@ if os.name=='posix':
     # currently there's always a symlink called
     # libassimp.so in /usr/local/lib.
     ext_whitelist.append('.so')
+    # libassimp.dylib in /usr/local/lib
+    ext_whitelist.append('.dylib')
 
 elif os.name=='nt':
     ext_whitelist.append('.dll')