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

Commit3780fc6

Browse files
committed
ecpg: Don't link compatlib with libpq
It doesn't actually use libpq. But we need to keep libpq in theCPPFLAGS for building, because compatlib uses ecpglib.h which useslibpq-fe.h, but we don't need to refer to libpq for linking.reviewed by Tom Lane
1 parent203d8ae commit3780fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/ecpg/compatlib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
2121
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils$(CPPFLAGS)
2222
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2323

24-
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes$(libpq)\
24+
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes\
2525
$(filter -lintl -lm,$(LIBS))$(PTHREAD_LIBS)
2626
SHLIB_PREREQS = submake-ecpglib submake-pgtypeslib
2727

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp