From 2eab39a6585392e139b1c4bbc6e6ec7671627e99 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Mon, 25 Jan 2016 14:10:58 +0100 Subject: [PATCH] better link flags --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ae01361..46b3d7b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SHELL:=/bin/bash CLM=clm -CLMFLAGS=-nt -l /usr/lib/libreadline.so +CLMFLAGS=-nt -l -lreadline all: test diff --git a/README.md b/README.md index f02d3f9..1f12c6e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ make ``` When you want to use the library in your program you should compile with the -`-l /usr/lib/libreadline.so` linker flag +`-l -lreadline` linker flag All functions try to resemble the original [readline](http://cnswww.cns.cwru.edu/php/chet/readline/readline.html) and -- 2.20.1