Created
March 15, 2013 06:07
-
-
Save vhbit/5167804 to your computer and use it in GitHub Desktop.
libxml & pkg-config on OS X under brew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from: https://github.com/moovweb/gokogiri/issues/14#issuecomment-12736547 | |
Homebrew's libxml-2.0 2.8.0 has pkgconfig support. For anyone coming here for answers, you only need to do the final steps: | |
Create symbolic link. | |
sudo ln -s BREW_PATH/Cellar/libxml2/2.8.0/lib/pkgconfig/libxml-2.0.pc \ | |
BREW_PATH/lib/pkgconfig/libxml-2.0.pc | |
Check with pkg-config: | |
pkg-config --cflags libxml-2.0 libxml-2.0 | |
I got this as result: -IBREW_PATH/Cellar/libxml2/2.8.0/include/libxml2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment