Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[project @ 2006-01-19 16:15:58 by simonmar]

omit the Main module from libHSghc.a
  • Loading branch information...
commit 58a4c0d2cc47a86a9626329143a1539a2952b96c 1 parent 1fb41f1
simonmar authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  ghc/compiler/Makefile
View
3  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

0 comments on commit 58a4c0d

Please sign in to comment.
Something went wrong with that request. Please try again.