1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

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>
This commit is contained in:
Amitay Isaacs 2018-07-27 12:52:16 +10:00 committed by Andrew Bartlett
parent 100fe9e999
commit 156ac24453

View File

@ -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'):