Skip to content

Commit

Permalink
Merge pull request #1011 from eloj/improve-pkgconfig
Browse files Browse the repository at this point in the history
Expand use of pkg-config variables.
  • Loading branch information
Cyan4973 committed Jul 24, 2021
2 parents c240126 + c1f514f commit 7be5039
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/Makefile
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/liblz4.pc.in
Expand Up @@ -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}

0 comments on commit 7be5039

Please sign in to comment.