diff options
| author | Max Howell | 2012-08-31 14:12:03 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-31 14:12:28 -0400 |
| commit | 30b53cf92ab217fe572b9145300fc8ee443de633 (patch) | |
| tree | 884c9de6ca0c27dc4a00a8a649afca256547fa73 /Library/ENV | |
| parent | 139fcf189cf0c30bbe032ec7724e6f25dd2c3b07 (diff) | |
| download | brew-30b53cf92ab217fe572b9145300fc8ee443de633.tar.bz2 | |
Cram GL headers and includes into superenv
Fixes Homebrew/homebrew#14554.
We justify doing this because pre 10.8 X11 came with GL for all Homebrew-capable systems and as such is a default that we'd prefer not to have to address.
Diffstat (limited to 'Library/ENV')
| -rwxr-xr-x | Library/ENV/4.3/cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index ffc5884be..ec53fe882 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -135,7 +135,9 @@ class Cmd end end def ldflags - cmake_prefixes.map{|prefix| "#{prefix}/lib" }.to_flags('-L') + libs = cmake_prefixes.map{|prefix| "#{prefix}/lib" } + libs += ENV['CMAKE_LIBRARY_PATH'].split(':') + libs.to_flags('-L') end def cppflags all = cmake_prefixes.map{|prefix| "#{prefix}/include" } |
