diff options
-rw-r--r-- | rules/opencv.in | 4 | ||||
-rw-r--r-- | rules/opencv.make | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/rules/opencv.in b/rules/opencv.in index bbf907b64..c700b2216 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -12,7 +12,8 @@ menuconfig OPENCV select QT5 if OPENCV_QT select QT5_TEST if OPENCV_QT select QT5_GUI if OPENCV_QT - select GSTREAMER if OPENCV_GSTREAMER + select GSTREAMER1 if OPENCV_GSTREAMER + select GST_PLUGINS_BASE1 if OPENCV_GSTREAMER select V4L_UTILS if OPENCV_V4L_LIBV4L2 select V4L_UTILS_LIBV4L1 if OPENCV_V4L_LIBV4L2 select V4L_UTILS_LIBV4L2 if OPENCV_V4L_LIBV4L2 @@ -114,7 +115,6 @@ config OPENCV_DNN config OPENCV_GSTREAMER bool - depends on STAGING prompt "gstreamer" help Gstreamer Support diff --git a/rules/opencv.make b/rules/opencv.make index baa8cd7b2..e0ab3143d 100644 --- a/rules/opencv.make +++ b/rules/opencv.make @@ -38,6 +38,13 @@ endif # Prepare # ---------------------------------------------------------------------------- +# set PKG_CONFIG_LIBDIR to something, otherwise opencv will not use +# pkg-config when cross-compiling. The value does not matter, the wrapper +# overwrites it anyways. +OPENCV_CONF_ENV := \ + $(CROSS_ENV) \ + PKG_CONFIG_LIBDIR=not-empty + OPENCV_CONF_TOOL := cmake # Note: configure_helper.py does not show some options that are only |