diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-28 10:22:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-28 10:22:54 +0000 |
commit | 9879a38486dfd9ed025f1fef84c7b01b791afcb1 (patch) | |
tree | 72ecc680829e346acf87ba698132121bfe3b3d1b /Mk/Uses/readline.mk | |
parent | vietnamese/vnroff: integrate pkg-plist and cleanup makefile (diff) |
Prevent overlinking of libreadline
Everything trying to link to readline is already passing -lreadline when needed
so all that is needed here is to pass the right path where to find it.
Reported by: peter
Notes
Notes:
svn path=/head/; revision=363125
Diffstat (limited to 'Mk/Uses/readline.mk')
-rw-r--r-- | Mk/Uses/readline.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/readline.mk b/Mk/Uses/readline.mk index 19674b2d25c2..280150162f48 100644 --- a/Mk/Uses/readline.mk +++ b/Mk/Uses/readline.mk @@ -18,7 +18,7 @@ readline_ARGS= port .if defined(readline_ARGS) && ${readline_ARGS} == port LIB_DEPENDS+= libreadline.so.6:${PORTSDIR}/devel/readline CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lreadline +LDFLAGS+= -L${LOCALBASE}/lib .endif .endif |