[project @ 2002-02-12 15:45:46 by simonmar]
authorsimonmar <unknown>
Tue, 12 Feb 2002 15:45:46 +0000 (15:45 +0000)
committersimonmar <unknown>
Tue, 12 Feb 2002 15:45:46 +0000 (15:45 +0000)
Use LIBOBJS rather than OBJS when building the GHCi library.

mk/package.mk

index da8712f..f16cc5e 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: package.mk,v 1.1 2002/02/12 15:17:35 simonmar Exp $
+# $Id: package.mk,v 1.2 2002/02/12 15:45:46 simonmar Exp $
 
 ifneq "$(PACKAGE)" ""
 
@@ -93,8 +93,8 @@ ifneq "$(DONT_WANT_STD_GHCI_LIB_RULE)" "YES"
 # hslibs/Win32 uses this 'feature', which will go away soon
 # when we can use a "fixed" ld.
 #
-$(GHCI_LIBRARY) : $(OBJS)
-       $(LD) -r $(LD_X) -o $@ $(OBJS)
+$(GHCI_LIBRARY) : $(LIBOBJS)
+       $(LD) -r $(LD_X) -o $@ $(LIBOBJS)
 
 endif # DONT_WANT_STD_GHCI_LIB_RULE
 endif # GhcWithInterpreter