mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fixes to make ecpg work on Cygwin, from Jason Tishler <Jason.Tishler@dothill.com>.
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
all: test1 test2 test3 test4 perftest dyntest dyntest2 test_notice test_code100 test_init
|
||||
|
||||
#LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq
|
||||
LDFLAGS=-g -I ../include -I /usr/include/postgresql -L /usr/lib -lecpg -lpq
|
||||
LDFLAGS=-g -I ../include
|
||||
LDLIBS=-L ../lib -lecpg -L ../../libpq -lpq
|
||||
|
||||
#ECPG=/usr/local/pgsql/bin/ecpg -I../include
|
||||
ECPG=../preproc/ecpg -I../include
|
||||
@ -24,4 +25,4 @@ test_text: test_text.c
|
||||
$(ECPG) $?
|
||||
|
||||
clean:
|
||||
rm -f test1 test2 test3 test4 perftest *.c log dyntest dyntest2 test_notice test_code100 test_init test_text
|
||||
rm -f test1 test2 test3 test4 perftest *.c log dyntest dyntest2 test_notice test_code100 test_init test_text *.exe
|
||||
|
Reference in New Issue
Block a user