Skip to content

Commit 762b38b

Browse files
authored
Merge pull request #4797 from smoe/codex/darwin-boost-python-search
configure: retain Darwin Boost.Python search flags
2 parents 1f5771b + d41a07d commit 762b38b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎src/configure.ac‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,13 @@ AX_BOOST_PYTHON()
10781078
if test "x" = "x$BOOST_PYTHON_LIB"; then
10791079
AC_MSG_NOTICE([error: libboost-python not found])
10801080
DEPFOUND=false
1081+
else
1082+
# Preserve the search flags used by the successful Boost.Python link test.
1083+
AS_CASE([$host_os], [darwin*], [
1084+
if test -n "$BOOST_LDFLAGS"; then
1085+
BOOST_PYTHON_LIB="$BOOST_LDFLAGS $BOOST_PYTHON_LIB"
1086+
fi
1087+
])
10811088
fi
10821089

10831090
# Test for a "maybe uninitialized" in the python::boost library in

0 commit comments

Comments
 (0)