summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libxml2/libxml2.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 989761ca2..f04731ca2 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -21,9 +21,12 @@ LIBXML2_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
--with-gnu-ld --enable-shared \
--enable-static --enable-ipv6=no \
--without-debugging --without-python \
- --without-threads $(DISABLE_NLS)
+ --without-threads $(DISABLE_NLS)
-
-LIBXML2_DEPENDENCIES = uclibc
+LIBXML2_DEPENDENCIES = uclibc
$(eval $(call AUTOTARGETS,package,libxml2))
+
+$(LIBXML2_HOOK_POST_INSTALL):
+ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libxml2*so*
+ touch $@