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

Commit63f32f3

Browse files
committed
Switch order of -lpgport and -lpgcommon
Conceptually, libpgcommon can depend on libpgport, but not the other wayaround. In the past, this might not have mattered, but it's needed nowfor asprintf.
1 parent90c7b7d commit63f32f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/Makefile.global.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,9 @@ libpq = -L$(libpq_builddir) -lpq
410410
# pgport before libpq. This does cause duplicate -lpgport's to appear
411411
# on client link lines.
412412
ifdefPGXS
413-
libpq_pgport = -L$(libdir) -lpgport -lpgcommon$(libpq)
413+
libpq_pgport = -L$(libdir) -lpgcommon -lpgport$(libpq)
414414
else
415-
libpq_pgport = -L$(top_builddir)/src/port -lpgport\
416-
-L$(top_builddir)/src/common -lpgcommon$(libpq)
415+
libpq_pgport = -L$(top_builddir)/src/common -lpgcommon -L$(top_builddir)/src/port -lpgport$(libpq)
417416
endif
418417

419418
# If PGXS is not defined, build libpq and libpgport dependancies as required.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp