diff options
author | Bruce Momjian | 2005-07-04 04:17:00 +0000 |
---|---|---|
committer | Bruce Momjian | 2005-07-04 04:17:00 +0000 |
commit | 7504f0bae853b0b9fec03c8e361c8b1a4b1c3209 (patch) | |
tree | fed67c43e40159a9df1f1f8b0dedccb182171e58 | |
parent | 3848532c7976f28bba546024afb7f94e8de1ece0 (diff) |
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
-rw-r--r-- | src/Makefile.shlib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index caa2470cccb..df543407c8b 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.91 2005/07/02 23:28:22 momjian Exp $ +# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.92 2005/07/04 04:17:00 momjian Exp $ # #------------------------------------------------------------------------- @@ -240,7 +240,7 @@ ifeq ($(PORTNAME), beos) SHLIB_LINK += -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86 endif -SHLIB_LINK := $(SHLIB_LINK) $(filter -L%, $(LDFLAGS)) +SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK) ifeq ($(enable_rpath), yes) SHLIB_LINK += $(rpath) endif |