From: simonmar Date: Thu, 19 Jan 2006 16:15:58 +0000 (+0000) Subject: [project @ 2006-01-19 16:15:58 by simonmar] X-Git-Tag: final_switch_to_darcs,_this_repo_is_now_live^0 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=58a4c0d2cc47a86a9626329143a1539a2952b96c [project @ 2006-01-19 16:15:58 by simonmar] omit the Main module from libHSghc.a --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 3fae31f..97cd2c6 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -755,6 +755,9 @@ VERSION = $(ProjectVersion) PKG_DEPENDS += base haskell98 PACKAGE_CPP_OPTS += -DPKG_DEPENDS='$(PKG_DEPENDS)' +# Omit Main from the library, the client will want to plug their own Main in +LIBOBJS = $(filter-out $(odir)/main/Main.o, $(OBJS)) + # disable splitting: it won't really help with GHC, and the specialised # build system for ghc/compiler isn't set up to handle it. SplitObjs = NO