Skip to content
Snippets Groups Projects
Commit 77056dc5 authored by Jack Nagel's avatar Jack Nagel
Browse files

Simplify condition

parent 23c2ec56
No related branches found
No related tags found
No related merge requests found
......@@ -71,8 +71,7 @@ module Stdenv
# Add lib and include etc. from the current macosxsdk to compiler flags:
macosxsdk MacOS.version
# For Xcode 4.3 (*without* the "Command Line Tools for Xcode") compiler and tools inside of Xcode:
if not MacOS::CLT.installed? and MacOS::Xcode.installed? and MacOS::Xcode.version >= "4.3"
if MacOS::Xcode.without_clt?
# Some tools (clang, etc.) are in the xctoolchain dir of Xcode
append_path 'PATH', "#{MacOS.xctoolchain_path}/usr/bin" if MacOS.xctoolchain_path
# Others are now at /Applications/Xcode.app/Contents/Developer/usr/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment