Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7504f0b

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 parent 3848532 commit 7504f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile.shlib

+2-2
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)