From 3402d4b4cfd3593dab0c57fcc5838aae40b7f052 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 20 Jun 2008 21:45:27 +0000 Subject: libxml2: strip libraries in TARGET_DIR And cleanup libxml2.mk trailing whitespace while we're at it. --- package/libxml2/libxml2.mk | 9 ++++++--- 1 file 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 $@ -- cgit v1.2.3