From 411c81a90d0f91e80983f85041015e220f180f41 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 24 Aug 2022 12:11:59 +0530 Subject: [PATCH] pkgconfig: Add missing prefix field This fixes path relocation in mingw environment. For example, * Before: $ pkgconf -cflags jasper -I/ucrt64/include/jasper -IF:/msys64/ucrt64/include * After: $ pkgconf -cflags jasper -IF:/msys64/ucrt64/include/jasper -IF:/msys64/ucrt64/include --- build/jasper.pc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/build/jasper.pc.in b/build/jasper.pc.in index dd075a1c..5275db41 100644 --- a/build/jasper.pc.in +++ b/build/jasper.pc.in @@ -1,3 +1,4 @@ +prefix=@CMAKE_INSTALL_PREFIX@ libdir=@CMAKE_INSTALL_FULL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@