Revision
3070
Author
lsansonetti@apple.com
Date
2009-12-01 13:36:04 -0800 (Tue, 01 Dec 2009)

Log Message

find llc using rbconfig's LLVM_PATH

Modified Paths

Diff

Modified: MacRuby/trunk/instruby.rb (3069 => 3070)


--- MacRuby/trunk/instruby.rb	2009-12-01 06:23:07 UTC (rev 3069)
+++ MacRuby/trunk/instruby.rb	2009-12-01 21:36:04 UTC (rev 3070)
@@ -515,6 +515,6 @@
 
 puts "installing LLVM tools"
 llc_dest = File.join(CONFIG['bindir'], 'llc')
-install('/usr/local/bin/llc', llc_dest, :mode => $prog_mode)
+install(File.join(CONFIG['LLVM_PATH'], 'bin/llc'), llc_dest, :mode => $prog_mode)
 
 # vi:set sw=2: