Skip to content

Commit ffd9ab3

Browse files
committed
Fix pkgconfig file
The curerrent implementation does not work on systems, like e.g. Debian, where the pkgconfig file is installed in "/usr/lib/x86_64-linux-gnu/pkgconfig/blosc2.pc". Since the current implementation assumes "prefix=${pcfiledir}/../.." (corretponding to "/user/lib" in this case), the path to include files ("includedir=${prefix}/include") results to be not correct. The fix has been only tested on Debian.
1 parent b116343 commit ffd9ab3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

blosc2.pc.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
prefix=${pcfiledir}/../.. # directory containing blosc2.pc
2-
libdir=${prefix}/lib
3-
includedir=${prefix}/include
1+
libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
2+
includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@
43

54
Name: blosc2
65
Description: A blocking, shuffling and lossless compression library

0 commit comments

Comments
 (0)