diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pkg-config.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb index eb08fc5f5..b450231aa 100644 --- a/Library/Formula/pkg-config.rb +++ b/Library/Formula/pkg-config.rb @@ -8,7 +8,8 @@ class PkgConfig <Formula #TODO depend on our glib if available. --with-installed-glib def install - system "./configure --with-pc-path=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:#{HOMEBREW_PREFIX}/lib/pkgconfig --disable-debug --prefix='#{prefix}'" + paths=%W[#{HOMEBREW_PREFIX}/lib/pkgconfig /usr/local/lib/pkgconfig /usr/lib/pkgconfig].uniq + system "./configure", "--with-pc-path=#{paths*':'}", "--disable-debug", "--prefix=#{prefix}" system "make install" end end
\ No newline at end of file |
