llvm: simplify installing resource
This commit is contained in:
parent
0aea4e0283
commit
1ae2fcae1b
1 changed files with 1 additions and 3 deletions
|
@ -28,9 +28,7 @@ class Llvm < Formula
|
|||
raise 'The Python bindings need the shared library.'
|
||||
end
|
||||
|
||||
resource('clang').stage do
|
||||
(buildpath/'tools/clang').install Dir['*']
|
||||
end if build.with? 'clang'
|
||||
(buildpath/"tools/clang").install resource("clang") if build.with? "clang"
|
||||
|
||||
if build.universal?
|
||||
ENV['UNIVERSAL'] = '1'
|
||||
|
|
Loading…
Reference in a new issue