|
6 | 6 | # Copyright (c) 1998, Regents of the University of California
|
7 | 7 | #
|
8 | 8 | # IDENTIFICATION
|
9 |
| -# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.107 2007/02/09 15:55:57 petere Exp $ |
| 9 | +# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.108 2007/02/11 19:31:45 tgl Exp $ |
10 | 10 | #
|
11 | 11 | #-------------------------------------------------------------------------
|
12 | 12 |
|
@@ -171,7 +171,7 @@ ifeq ($(PORTNAME), hpux)
|
171 | 171 | # ld can find the same libraries gcc does. Make sure it goes after any
|
172 | 172 | # -L switches provided explicitly.
|
173 | 173 | ifeq ($(GCC), yes)
|
174 |
| - SHLIB_LINK = $(filter -L%, $(SHLIB_LINK)) -L/usr/local/lib $(filter-out -L%, $(SHLIB_LINK)) |
| 174 | + SHLIB_LINK:= $(filter -L%, $(SHLIB_LINK)) -L/usr/local/lib $(filter-out -L%, $(SHLIB_LINK)) |
175 | 175 | endif
|
176 | 176 | endif
|
177 | 177 | # do this last so above filtering doesn't pull out -L switches in LDFLAGS
|
|