summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-20 21:45:27 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-20 21:45:27 +0000
commit3402d4b4cfd3593dab0c57fcc5838aae40b7f052 (patch)
tree8ebcfa224c33ad63cef49657cb3722e65bf7c318
parentf49f4b2ac00d9d0388dc873cb5f5154fb82ffb62 (diff)
downloadbuildroot-novena-3402d4b4cfd3593dab0c57fcc5838aae40b7f052.tar.gz
buildroot-novena-3402d4b4cfd3593dab0c57fcc5838aae40b7f052.zip
libxml2: strip libraries in TARGET_DIR
And cleanup libxml2.mk trailing whitespace while we're at it.
-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 $@