diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2014-09-20 19:42:56 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2014-09-20 19:48:16 +0300 |
commit | cac72956b1e56788182ac14bfb25519636afd503 (patch) | |
tree | 69852a0e4c668bf653d47c16f0370e68a18e45e3 | |
parent | Bump version and soname for 5.0.6. (diff) | |
download | xz-cac72956b1e56788182ac14bfb25519636afd503.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.
-rw-r--r-- | src/liblzma/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/Makefile.am b/src/liblzma/Makefile.am index c653f8a5..e9ab667c 100644 --- a/src/liblzma/Makefile.am +++ b/src/liblzma/Makefile.am @@ -104,7 +104,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 |