summarylogtreecommitdiffstats
path: root/opencv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'opencv.patch')
-rw-r--r--opencv.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/opencv.patch b/opencv.patch
new file mode 100644
index 000000000000..0c99157ee0a4
--- /dev/null
+++ b/opencv.patch
@@ -0,0 +1,23 @@
+diff --git a/configure.py b/configure.py
+index f17db980..debc9197 100644
+--- a/configure.py
++++ b/configure.py
+@@ -14,14 +14,14 @@ os.system(" ".join([config.sip_bin, "-c", ".", "-b", build_file, "oqapy_iproc.si
+ # Create the Makefile.
+ makefile = sipconfig.SIPModuleMakefile(config, build_file)
+
+-makefile.extra_lib_dirs=["/usr/lib", "/usr/lib/x86_64-linux-gnu/"]
++makefile.extra_lib_dirs=["/usr/lib", "/usr/lib/x86_64-linux-gnu/", "../src/oqapy-iproc.0.1.0"]
+
+ # Add the library we are wrapping. The name doesn't include any platform
+ # specific prefixes or extensions (e.g. the "lib" prefix on UNIX, or the
+ # ".dll" extension on Windows).
+-makefile.extra_libs = ["opencv_core", "opencv_highgui", "opencv_imgproc",
+- "opencv_legacy", "opencv_contrib", "opencv_features2d",
+- "opencv_ml", "opencv_gpu", "oqapy-iproc"]
++makefile.extra_libs = ["opencv_core", "opencv_highgui", "opencv_imgproc",
++ "opencv_features2d",
++ "opencv_ml", "oqapy-iproc"]
+
+ # Generate the Makefile itself.
+ makefile.generate()