2011年4月5日 星期二

[mac] The "gettext"

Mac OS X provide a BSD-gettext. When I build some software needed GNU-gettext, however, I will need to install a GNU-gettext by, for example, homebrew. But, because system gets confused if both are in the library path, the homebrew will NOT symlink GNU-gettext to /usr/local .

Due to the reason showed above, I have to add path by myself when I build some software by myself. e.g.
LDFLAGS="$LDFLAGS /usr/local/Cellar/gettext/0.18.1.1/lib"
CPPFLAGS="$CPPFLAGS /usr/local/Cellar/gettext/0.18.1.1/include"

沒有留言:

張貼留言