summaryrefslogtreecommitdiffstats
path: root/src/opencv-3-fixes-pkgconfig.patch
Commit message (Collapse)AuthorAgeFilesLines
* OpenCV: Fix paths and add shared supportSérgio Faria2015-01-071-0/+157
Tested with x86_64-w64-mingw32.static and x86_64-w64-mingw32.shared. Cherrypicks an upstream commit that cleanups the pkg-config file. Also removes the version postfix on Windows dll's (matching other platforms). These changes allows us to easilly support shared builds. Removing the postfix avoids breaking programs that only link to a subset of opencv modules, everytime a new version is released. It should be noted that OpenCV forces static linking of libopencv_ts. There are also 3 files that are left at usr/<triplet>/ that this commit does not attempt to fix (LICENSE, OpenCVConfig.cmake and OpenCVConfig-version.cmake). They cannot be moved to lib/ because a different OpenCVConfig.cmake is placed there. On Ubuntu, for example, those cmake files are in /usr/share/OpenCV/.