mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
For no good reason at all, libplpgsql was getting linked with libpq.
Since plpgsql is a backend extension, it doesn't need libpq...
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
# Makefile for the plpgsql shared object
|
# Makefile for the plpgsql shared object
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.21 2000/03/08 01:58:44 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.22 2000/04/04 01:47:59 tgl Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -15,10 +15,7 @@ SO_MINOR_VERSION= 0
|
|||||||
SRCDIR= @top_srcdir@
|
SRCDIR= @top_srcdir@
|
||||||
include $(SRCDIR)/Makefile.global
|
include $(SRCDIR)/Makefile.global
|
||||||
|
|
||||||
CFLAGS+= -I$(LIBPQDIR) -I$(SRCDIR)/include
|
CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend
|
||||||
|
|
||||||
# For fmgr.h
|
|
||||||
CFLAGS+= -I$(SRCDIR)/backend
|
|
||||||
|
|
||||||
# If using flex, ask for a case-insensitive, lex-compatible lexer.
|
# If using flex, ask for a case-insensitive, lex-compatible lexer.
|
||||||
ifneq (,$(findstring flex,$(LEX)))
|
ifneq (,$(findstring flex,$(LEX)))
|
||||||
@ -31,13 +28,6 @@ endif
|
|||||||
|
|
||||||
OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
|
OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
|
||||||
|
|
||||||
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+= $(findstring -lcrypt,$(LIBS))
|
|
||||||
|
|
||||||
# Shared library stuff, also default 'all' target
|
# Shared library stuff, also default 'all' target
|
||||||
include $(SRCDIR)/Makefile.shlib
|
include $(SRCDIR)/Makefile.shlib
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user