aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz')
-rw-r--r--src/xz/Makefile.am5
-rw-r--r--src/xz/main.c3
2 files changed, 1 insertions, 7 deletions
diff --git a/src/xz/Makefile.am b/src/xz/Makefile.am
index 16e55461..b8477c03 100644
--- a/src/xz/Makefile.am
+++ b/src/xz/Makefile.am
@@ -42,16 +42,13 @@ xz_CPPFLAGS = \
-I@top_builddir@/lib \
-I@top_srcdir@/lib
-xz_CFLAGS = @PTHREAD_CFLAGS@
-
## 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@ \
- @PTHREAD_LIBS@
+ @LTLIBINTL@
if COND_GNULIB
xz_LDADD += @top_builddir@/lib/libgnu.a
diff --git a/src/xz/main.c b/src/xz/main.c
index 4e24b98d..23a2de1f 100644
--- a/src/xz/main.c
+++ b/src/xz/main.c
@@ -284,9 +284,6 @@ main(int argc, char **argv)
// print an error message, but our stderr could be screwed anyway.
open_stdxxx(E_ERROR);
- // This has to be done before calling any liblzma functions.
- lzma_init();
-
// Set up the locale.
setlocale(LC_ALL, "");