Skip to content

Commit 7c14022

Browse files
committed
scripts: manylinux-build-module-wheels set Python3_INCLUDE_DIR
1 parent 62d3eaf commit 7c14022

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/internal/manylinux-build-module-wheels.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ source "${script_dir}/manylinux-build-common.sh"
1414
for PYBIN in "${PYBINARIES[@]}"; do
1515
Python3_EXECUTABLE=${PYBIN}/python
1616
Python3_INCLUDE_DIR=$( find -L ${PYBIN}/../include/ -name Python.h -exec dirname {} \; )
17-
Python3_INCLUDE_DIRS=${Python3_INCLUDE_DIR}
1817

1918
echo ""
2019
echo "Python3_EXECUTABLE:${Python3_EXECUTABLE}"
@@ -46,7 +45,7 @@ for PYBIN in "${PYBINARIES[@]}"; do
4645
-DCMAKE_CXX_COMPILER_TARGET:STRING=$(uname -p)-linux-gnu \
4746
-DBUILD_TESTING:BOOL=OFF \
4847
-DPython3_EXECUTABLE:FILEPATH=${Python3_EXECUTABLE} \
49-
-DPython3_INCLUDE_DIRS:PATH=${Python3_INCLUDE_DIRS} \
48+
-DPython3_INCLUDE_DIR:PATH=${Python3_INCLUDE_DIR} \
5049
|| exit 1
5150
${PYBIN}/python setup.py clean
5251
done

0 commit comments

Comments
 (0)