[project @ 2000-05-12 09:20:03 by panne]
authorpanne <unknown>
Fri, 12 May 2000 09:20:03 +0000 (09:20 +0000)
committerpanne <unknown>
Fri, 12 May 2000 09:20:03 +0000 (09:20 +0000)
Don't try to install import libraries if way /= dll

ghc/lib/std/Makefile

index 08e1696..350679f 100644 (file)
@@ -136,9 +136,7 @@ override datadir:=$(libdir)/imports/std
 INSTALL_LIBS  += $(LIBRARY)
 ifeq "$(way)" "dll"
 INSTALL_PROGS += $(DLL_NAME)
-INSTALL_LIBS  += PrelMain.dll_o
-else
-INSTALL_LIBS  += $(patsubst %.a,%_imp.a, $(LIBRARY))
+INSTALL_LIBS  += PrelMain.dll_o $(patsubst %.a,%_imp.a, $(LIBRARY))
 endif
 INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi
 ifeq "$(way)" "dll"