mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
add python lib path to --with-python
This commit is contained in:
parent
3aa32b673e
commit
55f6cc0b5c
@ -395,7 +395,7 @@ AC_ARG_WITH(
|
||||
[]
|
||||
)
|
||||
PYTHON_CPPFLAGS=`${PYTHON_CONFIG} --includes`
|
||||
PYTHON_LIBS=`${PYTHON_CONFIG} --libs`
|
||||
PYTHON_LIBS=`${PYTHON_CONFIG} --ldflags`
|
||||
],
|
||||
[
|
||||
AC_PATH_PROG(PYTHON, python${PYTHON_VERSION}, nopython)
|
||||
@ -406,7 +406,7 @@ AC_ARG_WITH(
|
||||
AC_MSG_ERROR([could not find python or python3]),
|
||||
[
|
||||
PYTHON_CPPFLAGS=`${PYTHON3}-config --includes`
|
||||
PYTHON_LIBS=`${PYTHON3}-config --libs`
|
||||
PYTHON_LIBS=`${PYTHON3}-config --ldflags`
|
||||
PYTHON=$PYTHON3
|
||||
]
|
||||
)
|
||||
|
4
configure
vendored
4
configure
vendored
@ -5552,7 +5552,7 @@ fi
|
||||
|
||||
fi
|
||||
PYTHON_CPPFLAGS=`${PYTHON_CONFIG} --includes`
|
||||
PYTHON_LIBS=`${PYTHON_CONFIG} --libs`
|
||||
PYTHON_LIBS=`${PYTHON_CONFIG} --ldflags`
|
||||
|
||||
else
|
||||
|
||||
@ -5645,7 +5645,7 @@ fi
|
||||
else
|
||||
|
||||
PYTHON_CPPFLAGS=`${PYTHON3}-config --includes`
|
||||
PYTHON_LIBS=`${PYTHON3}-config --libs`
|
||||
PYTHON_LIBS=`${PYTHON3}-config --ldflags`
|
||||
PYTHON=$PYTHON3
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user