Merge pull request #1011 from eloj/improve-pkgconfig

Expand use of pkg-config variables.
This commit is contained in:
Yann Collet 2021-07-25 00:43:27 +02:00 committed by GitHub
commit 7be5039648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -175,6 +175,7 @@ liblz4.pc: liblz4.pc.in Makefile
-e 's|@LIBDIR@|$(libdir)|' \
-e 's|@INCLUDEDIR@|$(includedir)|' \
-e 's|@VERSION@|$(LIBVER)|' \
-e 's|=${prefix}/|=$${prefix}/|' \
$< >$@
install: lib liblz4.pc

View File

@ -10,5 +10,5 @@ Name: lz4
Description: extremely fast lossless compression algorithm library
URL: http://www.lz4.org/
Version: @VERSION@
Libs: -L@LIBDIR@ -llz4
Cflags: -I@INCLUDEDIR@
Libs: -L${libdir} -llz4
Cflags: -I${includedir}