Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2ae6e86

Browse files
committed
For no good reason at all, libplpgsql was getting linked with libpq.
Since plpgsql is a backend extension, it doesn't need libpq...
1 parent 1c72a8a commit 2ae6e86

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/pl/plpgsql/src/Makefile.in

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the plpgsql shared object
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.21 2000/03/08 01:58:44 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.22 2000/04/04 01:47:59 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -15,10 +15,7 @@ SO_MINOR_VERSION= 0
1515
SRCDIR= @top_srcdir@
1616
include $(SRCDIR)/Makefile.global
1717

18-
CFLAGS+= -I$(LIBPQDIR) -I$(SRCDIR)/include
19-
20-
# For fmgr.h
21-
CFLAGS+= -I$(SRCDIR)/backend
18+
CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend
2219

2320
# If using flex, ask for a case-insensitive, lex-compatible lexer.
2421
ifneq (,$(findstring flex,$(LEX)))
@@ -31,13 +28,6 @@ endif
3128

3229
OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
3330

34-
SHLIB_LINK+= $(LIBPQ)
35-
36-
# If crypt is a separate library, rather than part of libc, it may need
37-
# to be referenced separately to keep (broken) linkers happy. (This is
38-
# braindead; users of libpq should not need to know what it depends on.)
39-
SHLIB_LINK+= $(findstring -lcrypt,$(LIBS))
40-
4131
# Shared library stuff, also default 'all' target
4232
include $(SRCDIR)/Makefile.shlib
4333

0 commit comments

Comments
 (0)