summaryrefslogtreecommitdiffstats
path: root/package/libxml2/libxml2.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-23 13:08:37 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-23 13:08:37 +0000
commitfe3d0e27dafbd564d7cbbd76ec05ed2e2fb19448 (patch)
treecd36b90dbb43fa62a6c315f707dbac0f69d49675 /package/libxml2/libxml2.mk
parentf5dc33a1a3c5a399bfbf0a1021b459c1c81a7370 (diff)
downloadbuildroot-fe3d0e27dafbd564d7cbbd76ec05ed2e2fb19448.tar.gz
buildroot-fe3d0e27dafbd564d7cbbd76ec05ed2e2fb19448.zip
libxml2: use install-strip instead of install-exec for target install
Use install-strip so binaries gets stripped and man pages / header files gets installed.
Diffstat (limited to 'package/libxml2/libxml2.mk')
-rw-r--r--package/libxml2/libxml2.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index e34bedb91d..68c0872c04 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -10,6 +10,7 @@ LIBXML2_SITE = ftp://xmlsoft.org/libxml2
LIBXML2_AUTORECONF = NO
LIBXML2_INSTALL_STAGING = YES
LIBXML2_INSTALL_TARGET = YES
+LIBXML2_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip
ifneq ($(BR2_LARGEFILE),y)
LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
@@ -25,5 +26,7 @@ LIBXML2_DEPENDENCIES = uclibc
$(eval $(call AUTOTARGETS,package,libxml2))
$(LIBXML2_HOOK_POST_INSTALL):
- $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libxml2*so*
+ rm -rf $(TARGET_DIR)/usr/share/aclocal \
+ $(TARGET_DIR)/usr/share/doc/libxml2-$(LIBXML2_VERSION) \
+ $(TARGET_DIR)/usr/share/gtk-doc
touch $@
OpenPOWER on IntegriCloud