Skip to content

Commit 4db04d7

Browse files
committed
Furthre cleanup of -lreadline/-lhistory
1 parent 8288f6a commit 4db04d7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/bin/psql/Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.4.2.2 1996/08/19 19:36:01 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.4.2.3 1996/08/20 04:02:01 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -22,17 +22,15 @@ include ../Makefile.global
2222
#
2323

2424
ifeq ($(USE_READLINE), true)
25-
CFLAGS += -I$(READLINE_INCDIR) -I$(HISTORY_INCDIR)
25+
CFLAGS += $(READLINE_INCDIR) $(HISTORY_INCDIR)
2626

2727
# if you are using an older readline that uses #include "readline.h" instead
2828
# of #include <readline/readline.h>,
2929
# uncomment this
3030
# CFLAGS += -DOLD_READLINE
3131

3232
LIBCURSES= -lcurses
33-
LD_ADD += -L$(READLINE_LIB) -L$(HISTORY_LIB) $(LIBCURSES)
34-
# use the following if your readline has no separate history lib
35-
# LD_ADD += -L$(READLINE_LIBDIR) -lreadline $(LIBCURSES)
33+
LD_ADD += $(READLINE_LIB) $(HISTORY_LIB) $(LIBCURSES)
3634

3735
ifeq ($(PORTNAME), ultrix4)
3836
LD_ADD += -ltermcap

0 commit comments

Comments
 (0)