File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/interfaces/ecpg/ecpglib Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 44#
55# Copyright (c) 1994, Regents of the University of California
66#
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 $
88#
99# -------------------------------------------------------------------------
1010
@@ -25,9 +25,14 @@ override CFLAGS += $(PTHREAD_CFLAGS)
2525LIBS := $(filter-out -lpgport, $(LIBS ) )
2626
2727OBJS = 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 \
2929 $(filter snprintf.o, $(LIBOBJS ) )
3030
31+ # thread.c is needed only for non-WIN32 implementation of path.c
32+ ifneq ($(PORTNAME ) , win32)
33+ OBJS += thread.o
34+ endif
35+
3136SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq ) \
3237 $(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm, $(LIBS ) ) $(PTHREAD_LIBS )
3338
You can’t perform that action at this time.
0 commit comments