aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/Makefile.am
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-09-20 19:42:56 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-09-20 19:42:56 +0300
commitd62028b4c1174fc67b6929f126f5eb24c018c700 (patch)
tree1a33322c6754b5349e703de343078203ef12c0ec /src/liblzma/Makefile.am
parentBump the version number to 5.1.4beta. (diff)
downloadxz-d62028b4c1174fc67b6929f126f5eb24c018c700.tar.xz
liblzma: Fix a portability problem in Makefile.am.
POSIX supports $< only in inference rules (suffix rules). Using it elsewhere is a GNU make extension and doesn't work e.g. with OpenBSD make. Thanks to Christian Weisgerber for the patch.
Diffstat (limited to 'src/liblzma/Makefile.am')
-rw-r--r--src/liblzma/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/Makefile.am b/src/liblzma/Makefile.am
index 32134e84..1b409108 100644
--- a/src/liblzma/Makefile.am
+++ b/src/liblzma/Makefile.am
@@ -116,7 +116,7 @@ liblzma.pc: $(srcdir)/liblzma.pc.in
-e 's,@PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
-e 's,@PTHREAD_CFLAGS[@],$(PTHREAD_CFLAGS),g' \
-e 's,@LIBS[@],$(LIBS),g' \
- < $< > $@ || { rm -f $@; exit 1; }
+ < $(srcdir)/liblzma.pc.in > $@ || { rm -f $@; exit 1; }
clean-local:
rm -f liblzma.pc