浏览代码

Merge pull request #232 from autosquid/master

for python binding to work on mac '.dylib'  should be added to ext_whitelist
Alexander Gessler 11 年之前
父节点
当前提交
5adb6c6cda
共有 1 个文件被更改,包括 2 次插入0 次删除
  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')