We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent9bfee3a commit928e73eCopy full SHA for 928e73e
src/interfaces/ecpg/ecpglib/Makefile
@@ -4,7 +4,7 @@
4
#
5
# Copyright (c) 1994, Regents of the University of California
6
7
-# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.19 2004/05/2100:14:38 tgl Exp $
+# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.20 2004/05/2103:10:47 momjian Exp $
8
9
#-------------------------------------------------------------------------
10
@@ -23,7 +23,11 @@ override CFLAGS += $(PTHREAD_CFLAGS)
23
OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o\
24
connect.o misc.o
25
26
-SHLIB_LINK = -L../pgtypeslib -lpgtypes$(libpq)\
+ifeq ($(PORTNAME), win32)
27
+PGPORT=-lpgport
28
+endif
29
+
30
+SHLIB_LINK = -L../pgtypeslib -lpgtypes$(PGPORT)$(libpq)\
31
$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm,$(LIBS))$(PTHREAD_LIBS)
32
33
all: all-lib