diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2001-02-20 19:20:30 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2001-02-20 19:20:30 +0000 |
| commit | cb6edf9d56019a1a3d9fd3df0dfe4a3ca1e7daab (patch) | |
| tree | fa108600dcddc1d1c70ae452dcb7111bae91f3df /src/interfaces/libpgtcl | |
| parent | c4a9023d520d8b9dee8bed396d08a0bf801726e2 (diff) | |
Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
Diffstat (limited to 'src/interfaces/libpgtcl')
| -rw-r--r-- | src/interfaces/libpgtcl/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/libpgtcl/Makefile b/src/interfaces/libpgtcl/Makefile index eebff49b728..fdc6d83f5c4 100644 --- a/src/interfaces/libpgtcl/Makefile +++ b/src/interfaces/libpgtcl/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.24 2000/10/31 14:37:25 petere Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.25 2001/02/20 19:20:29 petere Exp $ # #------------------------------------------------------------------------- @@ -16,16 +16,16 @@ NAME= pgtcl SO_MAJOR_VERSION= 2 SO_MINOR_VERSION= 1 -override CPPFLAGS += -I$(libpq_srcdir) +override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) OBJS= pgtcl.o pgtclCmds.o pgtclId.o -SHLIB_LINK+= $(libpq) +SHLIB_LINK = $(libpq) # If crypt is a separate library, rather than part of libc, it may need # to be referenced separately to keep (broken) linkers happy. (This is # braindead; users of libpq should not need to know what it depends on.) -SHLIB_LINK+= $(filter -lcrypt, $(LIBS)) +SHLIB_LINK+= $(filter -L%, $(LDFLAGS)) $(filter -lcrypt, $(LIBS)) all: submake all-lib |
