mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Don't link readline and supporting libraries into the backend.
After a proposal by Martijn van Oosterhout (not exactly his patch though).
This commit is contained in:
parent
f1713078c5
commit
a2c43740d5
1 changed files with 4 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# Copyright (c) 1994, Regents of the University of California
|
||||
#
|
||||
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.110 2005/10/27 20:45:29 tgl Exp $
|
||||
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.111 2005/11/28 22:06:39 tgl Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -24,6 +24,9 @@ OBJS := $(SUBSYSOBJS) $(top_builddir)/src/port/libpgport_srv.a
|
|||
# We put libpgport into OBJS, so remove it from LIBS
|
||||
LIBS := $(patsubst -lpgport, , $(LIBS))
|
||||
|
||||
# The backend doesn't need everything that's in LIBS, however
|
||||
LIBS := $(filter-out -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))
|
||||
|
||||
ifeq ($(PORTNAME), qnx4)
|
||||
# This file crashes qnx4's wlink and is therefore not in
|
||||
# bootstrap/SUBSYS.o on that platform. (Wotta hack ... is it still
|
||||
|
|
|
|||
Loading…
Reference in a new issue