diff -Naur nspostgres-jim2+4.0/Makefile nspostgres-jim3+4.0/Makefile --- nspostgres-jim2+4.0/Makefile 2005-09-21 19:25:33.000000000 -0700 +++ nspostgres-jim3+4.0/Makefile 2006-02-15 18:26:24.023944461 -0800 @@ -59,7 +59,7 @@ PGINC = /usr/include else ifeq ($(POSTGRES),PG_CONFIG) - PGLIB = $(shell $(PG_CONFIG) --libs) + PGLIB = $(shell $(PG_CONFIG) --libdir) PGINC = $(shell $(PG_CONFIG) --includedir) else ifneq ($(POSTGRES),SEPARATELY) @@ -91,10 +91,8 @@ MODLIBS = -L$(PGLIB) -lpq ifndef AS3 -ifeq ($(AS3),1) MODLIBS += -lnsdb endif -endif CFLAGS += -DBIND_EMULATION -I$(PGINC)