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:
Scott Fennell 2021-02-05 00:31:08 -06:00 committed by GitHub
parent f81086700a
commit 5d7b6e3bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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
View File

@ -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' ' '`