From: Mart Lubbers Date: Mon, 25 Jan 2016 13:10:58 +0000 (+0100) Subject: better link flags X-Git-Tag: v0.3~1 X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=2eab39a6585392e139b1c4bbc6e6ec7671627e99;p=CleanReadLine.git better link flags --- 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