diff options
Diffstat (limited to 'src/interfaces/libpgtcl/Makefile')
-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 |