osx - Finding libraries with pkg-config in a Homebrew formula? -


i’m attempting build homebrew formula depends on pkg-config during installation. have appropriate depends_on "pkg-config" => :build statement in formula, upon calling ./configure warnings pkg-config cannot find library. know depends_on call doing something, because fixed earlier issue ./configure being unable find pkg-config.

when using verbose mode, homebrew tells me pkg_config_libdir missing /usr/local/lib/pkgconfig. i’ve tried changing variable calling system "pkg_config_path=$pkg_config_path:/usr/local/lib/pkgconfig pkg_config_libdir=$pkg_config_libdir:/usr/local/lib/pkgconfig ./configure", "--exec-prefix=#{prefix}" in formula script still fails every time.

what correct way fix issue in homebrew?


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -