Commit 6199e336 authored by rrt's avatar rrt
Browse files

[project @ 2000-05-11 11:05:32 by rrt]

Fix installing for DLLized Windows build.
parent a4017b81
......@@ -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
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