diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-12-07 04:45:12 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-12-07 04:45:12 +0100 |
commit | 1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99 (patch) | |
tree | 633401b25524684aafad9d4acbf046801feb5ae6 /Makefile | |
parent | 5ad2ad18db1413db2872eaa1f956d0cf2fe2477d (diff) | |
download | ts3db_postgres-1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99.tar.gz ts3db_postgres-1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99.tar.xz ts3db_postgres-1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99.zip |
some pg progress
current bug: PQoidValue does not work for serial
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 ############################################################################## |