Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit928e73e

Browse files
committed
Add -lpgport to ecpglib link only on win32. Other platforms have
problems with it.
1 parent9bfee3a commit928e73e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/interfaces/ecpg/ecpglib/Makefile

Lines changed: 6 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.19 2004/05/2100:14:38 tgl Exp $
7+
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.20 2004/05/2103:10:47 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -23,7 +23,11 @@ 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$(libpq)\
26+
ifeq ($(PORTNAME), win32)
27+
PGPORT=-lpgport
28+
endif
29+
30+
SHLIB_LINK = -L../pgtypeslib -lpgtypes$(PGPORT)$(libpq)\
2731
$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm,$(LIBS))$(PTHREAD_LIBS)
2832

2933
all: all-lib

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp