for python binding to work on mac

add dylib to ext_whitelist for posix system
pull/232/head
autosquid 2014-03-11 00:34:49 +08:00
parent 84b66092d7
commit fd4f7f4572
1 changed files with 2 additions and 0 deletions

View File

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