$NetBSD: patch-aa,v 1.6 2005/05/21 20:22:21 kristerw Exp $ --- ../ghc-6.2.1/mk/bootstrap.mk.orig Tue May 25 22:00:52 2004 +++ ../ghc-6.2.1/mk/bootstrap.mk Tue May 25 22:01:59 2004 @@ -136,6 +136,7 @@ -u "$(UNDERSCORE)GHCziWeak_runFinalizzerBatch_closure" \ -u "$(UNDERSCORE)__stginit_Prelude" +HC_BOOT_LD_OPTS += -Wl,-R@PREFIX@/lib HC_BOOT_LIBS =