When building libraries, we need to register them if we use the "build" targets
authorIan Lynagh <igloo@earth.li>
Fri, 16 May 2008 23:53:52 +0000 (23:53 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 16 May 2008 23:53:52 +0000 (23:53 +0000)
We currently only use the "make" targets, which already register the package.

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)); \
        if ifBuildable/ifBuildable $*; then \
          cd $* && \
          setup/Setup build $(addprefix --ghc-option=,$(GhcLibHcOpts)); \
+         ../installPackage/installPackage register --inplace; \
        fi
 
 .PHONY: doc html
        fi
 
 .PHONY: doc html