summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index e80baa0e11..1c15c6fa13 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -150,7 +150,7 @@ endif # package-data.mk exists
# Don't put bootstrapping packages in the bindist
ifneq "$3" "0"
-BINDIST_EXTRAS += $1/*.cabal $1/*.buildinfo $1/$2/setup-config $1/LICENSE
+BINDIST_EXTRAS += $1/*.cabal $$(wildcard $1/*.buildinfo) $1/$2/setup-config $1/LICENSE
BINDIST_EXTRAS += $$($1_$2_INSTALL_INCLUDES_SRCS)
endif