File tree 1 file changed +6
-2
lines changed
src/interfaces/ecpg/ecpglib
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.19 2004/05/21 00:14:38 tgl Exp $
7
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.20 2004/05/21 03:10:47 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -23,7 +23,11 @@ override CFLAGS += $(PTHREAD_CFLAGS)
23
23
OBJS = execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
24
24
connect.o misc.o
25
25
26
- SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq ) \
26
+ ifeq ($(PORTNAME ) , win32)
27
+ PGPORT =-lpgport
28
+ endif
29
+
30
+ SHLIB_LINK = -L../pgtypeslib -lpgtypes $(PGPORT ) $(libpq ) \
27
31
$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm, $(LIBS ) ) $(PTHREAD_LIBS )
28
32
29
33
all : all-lib
You can’t perform that action at this time.
0 commit comments