diff options
Diffstat (limited to 'src/xz/Makefile.am')
-rw-r--r-- | src/xz/Makefile.am | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/xz/Makefile.am b/src/xz/Makefile.am index 63d58728..ff88a839 100644 --- a/src/xz/Makefile.am +++ b/src/xz/Makefile.am @@ -32,21 +32,22 @@ xz_SOURCES = \ xz_CPPFLAGS = \ -DLOCALEDIR=\"$(localedir)\" \ - -I@top_srcdir@/src/common \ - -I@top_srcdir@/src/liblzma/api \ - -I@top_builddir@/lib \ - -I@top_srcdir@/lib \ - @STATIC_CPPFLAGS@ + -I$(top_srcdir)/src/common \ + -I$(top_srcdir)/src/liblzma/api \ + -I$(top_builddir)/lib \ + -I$(top_srcdir)/lib \ + $(STATIC_CPPFLAGS) -xz_LDFLAGS = @STATIC_LDFLAGS@ -xz_LDADD = \ - @top_builddir@/src/liblzma/liblzma.la \ - @LTLIBINTL@ +xz_LDFLAGS = $(STATIC_LDFLAGS) +xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la if COND_GNULIB -xz_LDADD += @top_builddir@/lib/libgnu.a +xz_LDADD += $(top_builddir)/lib/libgnu.a endif +# libgnu.a may need these libs, so this must be after libgnu.a. +xz_LDADD += $(LTLIBINTL) + ## Create symlinks for unxz and xzcat for convenicen. Create symlinks also ## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x. |