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

Commit7504f0b

Browse files
committed
Reverse this patch:
---------------------------------------------------------------------------> A quick look shows that when you use --with-libraries=/foo/bar the> generated link line for libraries says>> -L/foo/bar -lpq>> and it should probably be the other way around (as it is for the> executables).>> So I suspect we need some makefile tuning.You were correct. This patch fixes it.Jim C. Nasby
1 parent3848532 commit7504f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Makefile.shlib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.91 2005/07/02 23:28:22 momjian Exp $
9+
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.92 2005/07/04 04:17:00 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -240,7 +240,7 @@ ifeq ($(PORTNAME), beos)
240240
SHLIB_LINK+= -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86
241241
endif
242242

243-
SHLIB_LINK := $(SHLIB_LINK) $(filter -L%, $(LDFLAGS))
243+
SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
244244
ifeq ($(enable_rpath), yes)
245245
SHLIB_LINK += $(rpath)
246246
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp