您可能想要使用brew install gettext --universal
,它将构建一个包含 32 位和 64 位代码的通用(“胖”)二进制文件。没有--32-bit
选择;查看brew info gettext
支持哪些选项。
$ brew install gettext --universal
[...snip...]
$ file /usr/local/Cellar/gettext/0.18.2/lib/libgettextlib-0.18.2.dylib
/usr/local/Cellar/gettext/0.18.2/lib/libgettextlib-0.18.2.dylib: Mach-O universal binary with 2 architectures
/usr/local/Cellar/gettext/0.18.2/lib/libgettextlib-0.18.2.dylib (for architecture i386): Mach-O dynamically linked shared library i386
/usr/local/Cellar/gettext/0.18.2/lib/libgettextlib-0.18.2.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64