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 năm trước cách đây
mục cha
commit
5adb6c6cda
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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')