summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/Kbuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/archival/libunarchive/Kbuild b/archival/libunarchive/Kbuild
index 4e14541..010043c 100644
--- a/archival/libunarchive/Kbuild
+++ b/archival/libunarchive/Kbuild
@@ -26,7 +26,6 @@ lib-y:= \
\
data_align.o \
find_list_entry.o \
- open_transformer.o \
init_handle.o
GUNZIP_FILES:= check_header_gzip.o decompress_unzip.o
@@ -36,6 +35,13 @@ DPKG_FILES:= \
get_header_tar.o \
filter_accept_list_reassign.o
+# open_transformer uses fork. Compile it only if absolutely necessary
+lib-$(CONFIG_RPM) += open_transformer.o
+lib-$(CONFIG_FEATURE_TAR_BZIP2) += open_transformer.o
+lib-$(CONFIG_FEATURE_TAR_LZMA) += open_transformer.o
+lib-$(CONFIG_FEATURE_TAR_GZIP) += open_transformer.o
+lib-$(CONFIG_FEATURE_TAR_COMPRESS) += open_transformer.o
+
lib-$(CONFIG_AR) += get_header_ar.o unpack_ar_archive.o
lib-$(CONFIG_BUNZIP2) += decompress_bunzip2.o
lib-$(CONFIG_UNLZMA) += decompress_unlzma.o