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

Commitbdf0054

Browse files
committed
Make sure LDFLAGS come before LIBS when linking contrib programs.
Solaris, at least, seems to be sensitive to the relative order of -Land -l switches, so this is needed. Per buildfarm results.
1 parentf9e9da6 commitbdf0054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/makefiles/pgxs.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PGXS: PostgreSQL extensions makefile
22

3-
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.20 2010/07/0518:54:38 tgl Exp $
3+
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.21 2010/07/0523:30:50 tgl Exp $
44

55
# This file contains generic rules to build many kinds of simple
66
# extension modules. You only need to set a few variables and include
@@ -286,5 +286,5 @@ endif
286286

287287
ifdefPROGRAM
288288
$(PROGRAM):$(OBJS)
289-
$(CC)$(CFLAGS)$(OBJS)$(PG_LIBS)$(LIBS)$(LDFLAGS)$(LDFLAGS_EX) -o$@
289+
$(CC)$(CFLAGS)$(OBJS)$(LDFLAGS)$(LDFLAGS_EX)$(PG_LIBS)$(LIBS) -o$@
290290
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp