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
@ -27,6 +27,7 @@ class Gettext(AutotoolsPackage, GNUMirrorPackage):
|
|||||||
# Optional variants
|
# Optional variants
|
||||||
variant('libunistring', default=False, description='Use libunistring')
|
variant('libunistring', default=False, description='Use libunistring')
|
||||||
|
|
||||||
|
depends_on('iconv')
|
||||||
# Recommended dependencies
|
# Recommended dependencies
|
||||||
depends_on('ncurses', when='+curses')
|
depends_on('ncurses', when='+curses')
|
||||||
depends_on('libxml2', when='+libxml2')
|
depends_on('libxml2', when='+libxml2')
|
||||||
@ -50,7 +51,8 @@ def configure_args(self):
|
|||||||
|
|
||||||
config_args = [
|
config_args = [
|
||||||
'--disable-java',
|
'--disable-java',
|
||||||
'--disable-csharp',
|
'--disable-icsharp',
|
||||||
|
'--with-libiconv-prefix={0}'.format(spec['iconv'].prefix),
|
||||||
'--with-included-glib',
|
'--with-included-glib',
|
||||||
'--with-included-gettext',
|
'--with-included-gettext',
|
||||||
'--with-included-libcroco',
|
'--with-included-libcroco',
|
||||||
|
Loading…
Reference in New Issue
Block a user