gettext: add missing iconv dependency (#16193)
`gettext` will pick up a random `iconv` dependency if not specified, which crashes python and its own builds on macOS.
This commit is contained in:
parent
ca86e56572
commit
6c8e15ee18
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@ class Gettext(AutotoolsPackage, GNUMirrorPackage):
|
|||
# Optional variants
|
||||
variant('libunistring', default=False, description='Use libunistring')
|
||||
|
||||
depends_on('iconv')
|
||||
# Recommended dependencies
|
||||
depends_on('ncurses', when='+curses')
|
||||
depends_on('libxml2', when='+libxml2')
|
||||
|
@ -50,7 +51,8 @@ def configure_args(self):
|
|||
|
||||
config_args = [
|
||||
'--disable-java',
|
||||
'--disable-csharp',
|
||||
'--disable-icsharp',
|
||||
'--with-libiconv-prefix={0}'.format(spec['iconv'].prefix),
|
||||
'--with-included-glib',
|
||||
'--with-included-gettext',
|
||||
'--with-included-libcroco',
|
||||
|
|
Loading…
Reference in a new issue