From 156ac24453d6f6026757a518941f1df6c44135f8 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Fri, 27 Jul 2018 12:52:16 +1000 Subject: popt: Add check for iconv library On glibc based systems, there is no separate iconv library. Adding a dependency without checking for the library breaks build on glibc based systems. Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke Reviewed-by: Andrew Bartlett --- third_party/popt/wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party') diff --git a/third_party/popt/wscript b/third_party/popt/wscript index f93d12e07cd..a613ff648fb 100644 --- a/third_party/popt/wscript +++ b/third_party/popt/wscript @@ -9,6 +9,7 @@ def configure(conf): conf.CHECK_HEADERS('float.h') conf.CHECK_FUNCS('stpcpy') + conf.CHECK_LIB('iconv', shlib=True) def build(bld): if bld.CONFIG_SET('USING_SYSTEM_POPT'): -- cgit v1.2.1