When building libraries, we need to register them if we use the "build" targets
[ghc-hetmet.git] / libraries / Makefile
index 112e9e5..40374ce 100644 (file)
@@ -311,6 +311,7 @@ build.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
        if ifBuildable/ifBuildable $*; then \
          cd $* && \
          setup/Setup build $(addprefix --ghc-option=,$(GhcLibHcOpts)); \
+         ../installPackage/installPackage register --inplace; \
        fi
 
 .PHONY: doc html