summarylogtreecommitdiffstats
path: root/opencv.patch
blob: 0c99157ee0a4f310174bde7dc3c5c30bfadc70d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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()