Tell libedit to link to -lncursesw (#3752)

This commit is contained in:
Adam J. Stewart 2017-04-07 11:03:19 -05:00 committed by GitHub
parent f1943589b5
commit 54d0f9157d

View File

@ -28,8 +28,9 @@
class Libedit(AutotoolsPackage):
"""An autotools compatible port of the NetBSD editline library"""
homepage = "http://thrysoee.dk/editline/"
url = "http://thrysoee.dk/editline/libedit-20150325-3.1.tar.gz"
url = "http://thrysoee.dk/editline/libedit-20170329-3.1.tar.gz"
version('3.1-20170329', 'c57a0690e62ef523c083598730272cfd')
version('3.1-20160903', '0467d27684c453a351fbcefebbcb16a3')
version('3.1-20150325', '43cdb5df3061d78b5e9d59109871b4f6')
@ -38,3 +39,6 @@ class Libedit(AutotoolsPackage):
def url_for_version(self, version):
url = "http://thrysoee.dk/editline/libedit-{0}-{1}.tar.gz"
return url.format(version[-1], version.up_to(-1))
def configure_args(self):
return ['LIBS=-lncursesw']