From 6199e336b1528546b677b657c0c78b256a2399fd Mon Sep 17 00:00:00 2001 From: rrt Date: Thu, 11 May 2000 11:05:32 +0000 Subject: [PATCH] [project @ 2000-05-11 11:05:32 by rrt] Fix installing for DLLized Windows build. --- ghc/lib/std/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ghc/lib/std/Makefile b/ghc/lib/std/Makefile index 4284da4..b0f985b 100644 --- a/ghc/lib/std/Makefile +++ b/ghc/lib/std/Makefile @@ -134,10 +134,15 @@ override datadir:=$(libdir)/imports/std # Files to install from here # INSTALL_LIBS += $(LIBRARY) -ifeq "$(EnableWin32DLLs)" "YES" +ifeq "$(way)" "dll" INSTALL_PROGS += $(DLL_NAME) -INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY)) PrelMain.dll_o +INSTALL_LIBS += $(patsubst %.a, $(LIBRARY)) PrelMain.dll_o +else +INSTALL_LIBS += $(patsubst %_imp.a, $(LIBRARY)) endif INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi +ifeq "$(way)" "dll" +INSTALL_DATAS := $(filter-out PrelHugs.$(way_)hi,$(INSTALL_DATAS)) +endif include $(TOP)/mk/target.mk -- 1.7.10.4