summaryrefslogtreecommitdiff
path: root/package/libxml2
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-03-09 20:34:19 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-03-09 20:34:19 +0100
commit15ca4eabc16a302f38ba53ce97986668e243b835 (patch)
treef8684f7a9919cd32a32c4f567ea3c16c88103099 /package/libxml2
parent034b92c6855a917b99d1e37b1f5cdaefd3c4a594 (diff)
parentefeebdbd427906fecf404e9a71066398d144f082 (diff)
Merge branch 'for-2011.05/remove-config-scripts' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/libxml2')
-rw-r--r--package/libxml2/libxml2.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index d07f631a8..2a267b2f9 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -30,6 +30,14 @@ HOST_LIBXML2_CONF_OPT = \
--enable-shared --without-debugging --without-python \
--without-threads
+define LIBXML2_REMOVE_CONFIG_SCRIPTS
+ $(RM) -f $(TARGET_DIR)/usr/bin/xml2-config
+endef
+
+ifneq ($(BR2_HAVE_DEVFILES),y)
+LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_REMOVE_CONFIG_SCRIPTS
+endif
+
$(eval $(call AUTOTARGETS,package,libxml2))
$(eval $(call AUTOTARGETS,package,libxml2,host))