SHA256
1
0
forked from pool/xz
xz/nostatic.diff

26 lines
831 B
Diff

Index: src/lzmadec/Makefile.am
================================================================================
--- src/xz/Makefile.am
+++ src/xz/Makefile.am
@@ -42,10 +42,6 @@ xz_CPPFLAGS = \
-I@top_builddir@/lib \
-I@top_srcdir@/lib
-## Always link the command line tool statically against liblzma. It is
-## faster on x86, because no need for PIC. We also have one dependency less,
-## which allows users to more freely copy the xz binary to other boxes.
-xz_LDFLAGS = -static
xz_LDADD = \
@top_builddir@/src/liblzma/liblzma.la \
@LTLIBINTL@
--- src/xzdec/Makefile.am
+++ src/xzdec/Makefile.am
@@ -19,7 +19,6 @@ xzdec_CPPFLAGS = \
-I@top_srcdir@/src/common \
-I@top_srcdir@/src/liblzma/api \
-I@top_builddir@/lib
-xzdec_LDFLAGS = -static
xzdec_LDADD = \
@top_builddir@/src/liblzma/liblzma.la \
@LTLIBINTL@