libarchive: enable support for tar.xz

Issue #2528
This commit is contained in:
Norman Feske 2017-12-20 18:31:31 +01:00 committed by Christian Helmuth
parent dc246544de
commit 219218dd38
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
LIBARCHIVE_DIR = $(call select_from_ports,libarchive)/src/lib/libarchive
LIBS += libc zlib
LIBS += libc zlib liblzma
INC_DIR += $(REP_DIR)/src/lib/libarchive $(LIBARCHIVE_DIR)
ALL_SRC_C := $(notdir $(wildcard $(LIBARCHIVE_DIR)/libarchive/*.c))

View File

@ -1,7 +1,10 @@
#ifndef _LIBARCHIVE__GENODE_CONFIG_H_
#define _LIBARCHIVE__GENODE_CONFIG_H_
#define HAVE_ZLIB_H 1
#define HAVE_ZLIB_H 1
#define HAVE_LIBLZMA 1
#define HAVE_LZMA_H 1
#define HAVE_LZMA_STREAM_ENCODER_MT 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
@ -15,6 +18,7 @@
#define HAVE_GRP_H 1
#define HAVE_DIRENT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_UTIME_H 1
#define HAVE_CTYPE_H 1
#define HAVE_DECL_SIZE_MAX 1
@ -35,5 +39,7 @@
#define HAVE_FCHDIR 1
#define HAVE_LSTAT 1
#define HAVE_SYS_UTSNAME_H 1
#define HAVE_UTIME 1
#define HAVE_LUTIMES 1
#endif /* _LIBARCHIVE__GENODE_CONFIG_H_ */