diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-07 21:17:07 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-07 21:17:07 +0200 |
commit | 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 (patch) | |
tree | e96c422423cd0ba79e36df013de1f129d32135ec /src/xzdec/Makefile.am | |
parent | add gitignore files (diff) | |
download | xz-880c3309386aac58fc4f3d7ca99bd31bcb1526a3.tar.xz |
Make it easy to choose if command line tools should be
linked statically or dynamically against liblzma. The
default is still to use static liblzma, but it can now
be changed by passing --enable-dynamic to configure.
Thanks to Mike Frysinger for the original patch.
Fixed a few minor bugs in configure.ac.
Diffstat (limited to '')
-rw-r--r-- | src/xzdec/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xzdec/Makefile.am b/src/xzdec/Makefile.am index 84183fc0..0f85e4e8 100644 --- a/src/xzdec/Makefile.am +++ b/src/xzdec/Makefile.am @@ -18,8 +18,9 @@ xzdec_SOURCES = xzdec.c xzdec_CPPFLAGS = \ -I@top_srcdir@/src/common \ -I@top_srcdir@/src/liblzma/api \ - -I@top_builddir@/lib -xzdec_LDFLAGS = -static + -I@top_builddir@/lib \ + @STATIC_CPPFLAGS@ +xzdec_LDFLAGS = @STATIC_LDFLAGS@ xzdec_LDADD = \ @top_builddir@/src/liblzma/liblzma.la \ @LTLIBINTL@ |