[vlc-devel] [PATCH] rename SDKROOT to SDKROOTDIR

Vittorio Giovara vittorio.giovara at gmail.com
Wed Jul 31 10:37:55 CEST 2013


On Wed, Jul 31, 2013 at 6:24 AM, Ben Hiller <benhiller at gmail.com> wrote:

> Versions of XCode above 4.6 use the SDKROOT shell variable to determine
> what SDK use for building (it is documented here:
>
> http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html
> ).
> Unfortunately, several VLC build scripts were overriding SDKROOT, which
> caused xcode commands to fail. This works around that issue by renaming
> the SDKROOT variable that VLC build scripts use to SDKROOTDIR. Running
> ./extras/package/ios/build.sh succeeds for me after this change.
>

Hi,
won't that break compilation with earlier Xcode versions?
Not sure for 2.1, but VLC 2 minimum Xcode version is 3.2.x.

Sources:
http://wiki.videolan.org/OSXCompile/
https://trac.videolan.org/vlc/ticket/6305

Cheers,
Vittorio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130731/18838adf/attachment.html>


More information about the vlc-devel mailing list