vcpkg/ports/jasper/fix-library-name.patch

14 lines
470 B
Diff

diff --git a/build/jasper.pc.in b/build/jasper.pc.in
index a4ce38f..a9a7bc4 100644
--- a/build/jasper.pc.in
+++ b/build/jasper.pc.in
@@ -6,7 +6,7 @@ Name: JasPer
Description: Image Processing/Coding Tool Kit with JPEG-2000 Support
Version: @JAS_VERSION@
-Libs: -L${libdir} -ljasper
+Libs: -L${libdir} -ljasper@CMAKE_DEBUG_POSTFIX@
Requires.private: @JAS_PKGCONFIG_REQUIRES@
Cflags: -I${includedir}/jasper -I${includedir}
Cflags.private: -DLIBJASPER_STATIC_DEFINE