From 1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 7 Dec 2011 04:45:12 +0100 Subject: some pg progress current bug: PQoidValue does not work for serial --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 14ec492..5309c21 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,10 @@ deps:=$(sources:.c=.d) objects:=$(sources:.c=.o) -32BIT=-m32 -CFLAGS=-fPIC $(32BIT) -g -LDFLAGS=-shared -Wl,-soname,$(TARGET) $(32BIT) +#32BIT=-m32 +CFLAGS=-fPIC $(32BIT) -g -std=c99 +CFLAGS+=-I$(shell pg_config --includedir) +LDFLAGS=-shared -Wl,-soname,$(TARGET) $(32BIT) -lpq ############################################################################## -- cgit v1.2.3