Fix #3412: the worker of an Id might not be a local Id
[ghc-hetmet.git] / rules / build-package.mk
index c598ef8..1c15c6f 100644 (file)
@@ -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/$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