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:
parent
100fe9e999
commit
156ac24453
1
third_party/popt/wscript
vendored
1
third_party/popt/wscript
vendored
@ -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'):
|
||||
|
Loading…
Reference in New Issue
Block a user