Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9bfee3a

Browse files
committed
Revert addition of -lpgport, which breaks the build on platforms that
are sticky about non-PIC code in shared libraries. Windows will have to find another solution (probably similar to the way libpq does it).
1 parent 58c42f3 commit 9bfee3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/ecpg/ecpglib/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.18 2004/05/19 05:14:58 momjian Exp $
7+
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.19 2004/05/21 00:14:38 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -23,7 +23,7 @@ override CFLAGS += $(PTHREAD_CFLAGS)
2323
OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
2424
connect.o misc.o
2525

26-
SHLIB_LINK = -L../pgtypeslib -lpgtypes -lpgport $(libpq) \
26+
SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq) \
2727
$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm, $(LIBS)) $(PTHREAD_LIBS)
2828

2929
all: all-lib

0 commit comments

Comments
 (0)