Commit 0fcdfcf6 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't put directories for unbuildable libraries in bindists

We think there is a library there, and then installPackage fails to
install it.
parent fd8d0411
......@@ -343,8 +343,8 @@ endif
$(foreach SUBDIR,$(SUBDIRS),binary-dist.library.$(SUBDIR)): \
binary-dist.library.%:
$(MKDIRHIER) $(BIN_DIST_LIBDIR)/$*
if ifBuildable/ifBuildable $*; then \
$(MKDIRHIER) $(BIN_DIST_LIBDIR)/$* \
cd $* && \
cp $*.cabal $(BIN_DIST_LIBDIR)/$* && \
cp LICENSE $(BIN_DIST_LIBDIR)/$* && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment