allows to set PYLIBDIR externally
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
50557fb547
commit
f22165de7a
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ if test -n "$PYTHON"; then
|
|||
# Find the directory for libraries this is necessary to deal with
|
||||
# platforms that can have apps built for multiple archs: e.g. x86_64
|
||||
AC_MSG_CHECKING(for Python lib dir)
|
||||
PYLIBDIR=`($PYTHON -c "import sys; print sys.lib") 2>/dev/null`
|
||||
PYLIBDIR?=`($PYTHON -c "import sys; print sys.lib") 2>/dev/null`
|
||||
if test -z "$PYLIBDIR"; then
|
||||
# older versions don't have sys.lib so the best we can do is assume lib
|
||||
PYLIBDIR="lib"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue