summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian2005-07-02 23:28:22 +0000
committerBruce Momjian2005-07-02 23:28:22 +0000
commit16661d60abe1068f8cf83601d994fedb85e80b50 (patch)
tree63423b2aba5f0c82b3e2d1b0dd523e43ba22342e /src
parentcc5e80b8d1c4bf86aa99b54c938e9048e10bf93a (diff)
> 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
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.shlib4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 002071e06cc..caa2470cccb 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.90 2004/11/20 21:13:04 tgl Exp $
+# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.91 2005/07/02 23:28:22 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -240,7 +240,7 @@ ifeq ($(PORTNAME), beos)
SHLIB_LINK += -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86
endif
-SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
+SHLIB_LINK := $(SHLIB_LINK) $(filter -L%, $(LDFLAGS))
ifeq ($(enable_rpath), yes)
SHLIB_LINK += $(rpath)
endif