package/opencv3: fix build with python 3.8
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 3 Nov 2019 09:18:04 +0000 (10:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 4 Nov 2019 21:25:59 +0000 (22:25 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/f9c58f66aabf5596c8ef96d1cd6d9f1065ee5fe4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/opencv3/opencv3.mk

index 91efa5c9123491beb56904201a8139940f4200b3..83094ed78bb2ee3b723e08895049a7ec7aef9a29 100644 (file)
@@ -333,8 +333,8 @@ OPENCV3_CONF_OPTS += \
        -DBUILD_opencv_python2=OFF \
        -DBUILD_opencv_python3=ON \
        -DPYTHON3_EXECUTABLE=$(HOST_DIR)/bin/python3 \
-       -DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m \
-       -DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)m.so \
+       -DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
+       -DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR).so \
        -DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \
        -DPYTHON3_PACKAGES_PATH=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
        -DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION)