当我对自制软件进行一些清理/重建时,我正在观看一堆这样的消息:
This formula is keg-only: so it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/libxml2/lib
CPPFLAGS: -I/usr/local/opt/libxml2/include
我很可能会构建我想链接到自制版本而不是 OS X 版本的软件。我也不太可能记住哪些图书馆是仅限桶装的,或者在某个深夜./configure; make; make install
会议期间适当地追踪它们。
有没有办法让 Homebrew 列出所有这些标志的列表(可能是易于设置的环境变量格式),以便在我想提醒我所有仅限桶的库的时候?