$NetBSD: patch-ac,v 1.1.1.1 2010/09/21 07:50:46 adam Exp $ --- src/backend/Makefile.orig 2010-07-05 18:54:37.000000000 +0000 +++ src/backend/Makefile @@ -17,6 +17,10 @@ subdir = src/backend top_builddir = ../.. include $(top_builddir)/src/Makefile.global +CFLAGS+= $(DL_CFLAGS) +LDFLAGS+= $(DL_LDFLAGS) +LIBS+= $(DL_LIBS) + SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \ main nodes optimizer port postmaster regex replication rewrite \ storage tcop tsearch utils $(top_builddir)/src/timezone