File tree 1 file changed +7
-2
lines changed
src/interfaces/ecpg/ecpglib
1 file changed +7
-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.39 2006/04/28 02:53:20 tgl Exp $
7
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.40 2006/04/29 20:13:07 tgl Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -25,9 +25,14 @@ override CFLAGS += $(PTHREAD_CFLAGS)
25
25
LIBS := $(filter-out -lpgport, $(LIBS ) )
26
26
27
27
OBJS = execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
28
- connect.o misc.o path.o exec.o thread.o \
28
+ connect.o misc.o path.o exec.o \
29
29
$(filter snprintf.o, $(LIBOBJS ) )
30
30
31
+ # thread.c is needed only for non-WIN32 implementation of path.c
32
+ ifneq ($(PORTNAME ) , win32)
33
+ OBJS += thread.o
34
+ endif
35
+
31
36
SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq ) \
32
37
$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm, $(LIBS ) ) $(PTHREAD_LIBS )
33
38
You can’t perform that action at this time.
0 commit comments