summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-07-27 12:52:16 +1000
committerAndrew Bartlett <abartlet@samba.org>2018-07-28 00:25:29 +0200
commit156ac24453d6f6026757a518941f1df6c44135f8 (patch)
tree6b5804fe8262c524504ed4c7f0182ed75ba5ffce /third_party
parent100fe9e9991136143c12abec688c607266eb9f51 (diff)
downloadsamba-156ac24453d6f6026757a518941f1df6c44135f8.tar.gz
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 <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/popt/wscript1
1 files changed, 1 insertions, 0 deletions
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'):