Kaydet (Commit) a6c044e2 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i124422# adjust include path for libc++ headers to the selected XCode folder

While XCode5's xcode-select supports the -p and --print-path options, XCode4
officially only knows -print-path. XCode4 seems to tolerate --print-path though
(tested on XCode4.6), so this can be universally used.
Patch-by: 's avatarThorsten Wagner <thorsten.wagner.4@gmail.com>
Review-by: 's avatarHerbert Duerr <hdu@apache.org>
üst c104272e
......@@ -1441,7 +1441,8 @@ elsif ($platform =~ m/cygwin/)
elsif ($platform =~ m/darwin/)
{
$FRAMEWORKSHOME = "@MACOSX_SDK_PATH@/System/Library/Frameworks";
my $STLINC .= $I."/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/";
chomp( my $TOOLSPATH = `xcode-select --print-path` );
my $STLINC .= $I."$TOOLSPATH/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/";
$SOLARINC .= $STLINC . $I.$FRAMEWORKSHOME.$ds."JavaVM.framework".$ds."Headers";
$GUIBASE = "aqua";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment