# PyAssimp3: add dynlib to dll search path.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1093 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/3/head
parent
3d00f36faf
commit
3548127f02
|
@ -4,7 +4,7 @@
|
|||
Some fancy helper functions.
|
||||
"""
|
||||
|
||||
import os
|
||||
import os, sys
|
||||
import ctypes
|
||||
from . import structs
|
||||
import operator
|
||||
|
@ -19,6 +19,9 @@ additional_dirs, ext_whitelist = [],[]
|
|||
if os.name=='posix':
|
||||
additional_dirs.append('/usr/local/lib/')
|
||||
|
||||
if sys.platform.lower() == 'darwin':
|
||||
ext_whitelist.append('.dylib')
|
||||
|
||||
# note - this won't catch libassimp.so.N.n, but
|
||||
# currently there's always a symlink called
|
||||
# libassimp.so in /usr/local/lib.
|
||||
|
|
Loading…
Reference in New Issue