Skip to content

Commit 1a22ce9

Browse files
Undo PKG_CONFIG_EXECUTABLE fix
1 parent 9191a93 commit 1a22ce9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vinca/templates/build_catkin.sh.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export LINK=$CXX
1919

2020
if [[ "$CONDA_BUILD_CROSS_COMPILATION" != "1" ]]; then
2121
PYTHON_EXECUTABLE=$PREFIX/bin/python
22+
PKG_CONFIG_EXECUTABLE=$PREFIX/bin/pkg-config
2223
else
2324
PYTHON_EXECUTABLE=$BUILD_PREFIX/bin/python
25+
PKG_CONFIG_EXECUTABLE=$BUILD_PREFIX/bin/pkg-config
2426
fi
25-
# pkg-config is forced to be in the build prefix
26-
PKG_CONFIG_EXECUTABLE=$BUILD_PREFIX/bin/pkg-config
2727

2828
echo "USING PYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}"
2929
echo "USING PKG_CONFIG_EXECUTABLE=${PKG_CONFIG_EXECUTABLE}"

0 commit comments

Comments
 (0)