I'm building static OpenCV 3.0.0 using DBUILD_SHARED_LIBS=OFF
working fine producing a beautiful .a file. However, thirdparty libraries such as libjasper and libwebp are linked into this static library (libopencv_imgproc). I would like to create static opencv libraries, but link libjasper and libwebp dynamically as these are very easy to install using apt.