From: Peter Korsgaard Date: Fri, 20 Jun 2008 21:45:27 +0000 (-0000) Subject: libxml2: strip libraries in TARGET_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3402d4b4cfd3593dab0c57fcc5838aae40b7f052;p=buildroot.git libxml2: strip libraries in TARGET_DIR And cleanup libxml2.mk trailing whitespace while we're at it. --- diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 989761ca28..f04731ca22 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 $@