aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3/cc
diff options
context:
space:
mode:
Diffstat (limited to 'Library/ENV/4.3/cc')
-rwxr-xr-xLibrary/ENV/4.3/cc4
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" }