From efeebdbd427906fecf404e9a71066398d144f082 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 22 Dec 2010 18:23:55 +0100 Subject: [PATCH] libxslt: remove xslt-config script from TARGET_DIR Signed-off-by: Thomas Petazzoni --- package/libxslt/libxslt.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk index 5fa2f4ce4f..1efdcf8c25 100644 --- a/package/libxslt/libxslt.mk +++ b/package/libxslt/libxslt.mk @@ -39,5 +39,13 @@ endef LIBXSLT_POST_INSTALL_STAGING_HOOKS += LIBXSLT_XSLT_CONFIG_FIXUP +define LIBXSLT_REMOVE_CONFIG_SCRIPTS + $(RM) -f $(TARGET_DIR)/usr/bin/xslt-config +endef + +ifneq ($(BR2_HAVE_DEVFILES),y) +LIBXSLT_POST_INSTALL_TARGET_HOOKS += LIBXSLT_REMOVE_CONFIG_SCRIPTS +endif + $(eval $(call AUTOTARGETS,package,libxslt)) $(eval $(call AUTOTARGETS,package,libxslt,host)) -- 2.30.2