diff --git a/package/strace/strace.mk b/package/strace/strace.mk index 471dbc2e1d..6efe9c5174 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -34,10 +34,12 @@ else STRACE_CONF_OPTS += --without-libiberty endif +ifeq ($(BR2_PACKAGE_PERL),) define STRACE_REMOVE_STRACE_GRAPH rm -f $(TARGET_DIR)/usr/bin/strace-graph endef STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_REMOVE_STRACE_GRAPH +endif $(eval $(autotools-package))