$NetBSD: patch-av,v 1.4 2003/03/10 04:08:22 jmc Exp $ --- src/Makefile.in.orig Sat Sep 30 19:39:35 2000 +++ src/Makefile.in Thu Mar 6 22:56:31 2003 @@ -13,6 +13,7 @@ LIBS = -lgc -lm @LIBS@ ifeq ($(HAVE_LIBGC), 1) +LIBDIRS = -L$(BUILDLINK_DIR)/lib -Wl,${_OPSYS_RPATH_NAME}${PREFIX}/lib else LIBDIRS = -L$(PRJDIR)/support/gc LIBGC = $(PRJDIR)/support/gc/libgc.a