Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 837ea74 commit d70a406Copy full SHA for d70a406
Library/Homebrew/caveats.rb
@@ -64,7 +64,7 @@ def keg_only_text
64
s << "\nFor compilers to find this software you may need to set:\n"
65
s << " LDFLAGS: -L#{f.opt_lib}\n" if f.lib.directory?
66
s << " CPPFLAGS: -I#{f.opt_include}\n" if f.include.directory?
67
- if which("pkg-config") &&
+ if which("pkg-config", ENV["HOMEBREW_PATH"]) &&
68
((f.lib/"pkgconfig").directory? || (f.share/"pkgconfig").directory?)
69
s << "For pkg-config to find this software you may need to set:\n"
70
s << " PKG_CONFIG_PATH: #{f.opt_lib}/pkgconfig\n" if (f.lib/"pkgconfig").directory?
0 commit comments