mirror of https://git.tukaani.org/xz.git
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.
This commit is contained in:
parent
2cdf0875de
commit
cac72956b1
|
@ -104,7 +104,7 @@ liblzma.pc: $(srcdir)/liblzma.pc.in
|
||||||
-e 's,@PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
|
-e 's,@PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
|
||||||
-e 's,@PTHREAD_CFLAGS[@],$(PTHREAD_CFLAGS),g' \
|
-e 's,@PTHREAD_CFLAGS[@],$(PTHREAD_CFLAGS),g' \
|
||||||
-e 's,@LIBS[@],$(LIBS),g' \
|
-e 's,@LIBS[@],$(LIBS),g' \
|
||||||
< $< > $@ || { rm -f $@; exit 1; }
|
< $(srcdir)/liblzma.pc.in > $@ || { rm -f $@; exit 1; }
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -f liblzma.pc
|
rm -f liblzma.pc
|
||||||
|
|
Loading…
Reference in New Issue