mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
1106 fix python ld path (#1108)
* #1106 re-add in ldflags to python-config command closes #1106 Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
This commit is contained in:
parent
f81086700a
commit
5d7b6e3bcc
@ -445,7 +445,7 @@ AC_ARG_WITH(
|
||||
]
|
||||
)
|
||||
|
||||
PYTHON_LIBS_COMMAND="${PYTHON_CONFIG} --libs"
|
||||
PYTHON_LIBS_COMMAND="${PYTHON_CONFIG} --ldflags --libs"
|
||||
|
||||
AX_COMPARE_VERSION(
|
||||
[${PYTHON_MAJORMINOR}],
|
||||
@ -455,7 +455,7 @@ AX_COMPARE_VERSION(
|
||||
)
|
||||
|
||||
PYTHON_CPPFLAGS=`${PYTHON_CONFIG} --includes | sed 's/-I/-isystem/g'`
|
||||
PYTHON_LIBS=`${PYTHON_LIBS_COMMAND}`
|
||||
PYTHON_LIBS=`${PYTHON_LIBS_COMMAND} | tr '\r\n' ' '`
|
||||
|
||||
AC_SUBST([PYTHON_CPPFLAGS])
|
||||
AC_SUBST([PYTHON_LIBS])
|
||||
|
4
configure
vendored
4
configure
vendored
@ -5570,7 +5570,7 @@ fi
|
||||
fi
|
||||
|
||||
|
||||
PYTHON_LIBS_COMMAND="${PYTHON_CONFIG} --libs"
|
||||
PYTHON_LIBS_COMMAND="${PYTHON_CONFIG} --ldflags --libs"
|
||||
|
||||
|
||||
|
||||
@ -5610,7 +5610,7 @@ x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version
|
||||
|
||||
|
||||
PYTHON_CPPFLAGS=`${PYTHON_CONFIG} --includes | sed 's/-I/-isystem/g'`
|
||||
PYTHON_LIBS=`${PYTHON_LIBS_COMMAND}`
|
||||
PYTHON_LIBS=`${PYTHON_LIBS_COMMAND} | tr '\r\n' ' '`
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user