summaryrefslogtreecommitdiff
path: root/Makefile.PL
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-11-20 16:49:26 -0400
committerJoey Hess <joey@kitenet.net>2010-11-20 16:49:26 -0400
commit9298d999557b431321507feaea8a5b9169b4b12a (patch)
treed74eb88c22d30cbc90cebd9442d98b110256d73f /Makefile.PL
parented0690f58fcbc8e141ad705ebfbbeb032439b61c (diff)
downloadpristine-tar-9298d999557b431321507feaea8a5b9169b4b12a.tar.gz
pristine-tar-9298d999557b431321507feaea8a5b9169b4b12a.tar.bz2
pristine-tar-9298d999557b431321507feaea8a5b9169b4b12a.zip
Fix gzg building with --as-needed. Closes: #604030
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 38a3288..04b0b45 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -19,7 +19,7 @@ extra_build: zgz/zgz pristine-tar.spec
ZGZ_SOURCES = zgz/zgz.c zgz/gzip/*.c zgz/old-bzip2/*.c
zgz/zgz: $(ZGZ_SOURCES)
- gcc -Wall -O2 -lz -o $@ $(ZGZ_SOURCES)
+ gcc -Wall -O2 -o $@ $(ZGZ_SOURCES) -lz
extra_install:
install -d $(DESTDIR)/usr/bin