diff options
author | jstebbins <[email protected]> | 2009-09-04 21:22:41 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-09-04 21:22:41 +0000 |
commit | 74302fd6044b633bcd683bb8e6a0faa39d113732 (patch) | |
tree | 7413aab00083d7761723884a5733cfb2b2d98733 /macosx | |
parent | b65acba4026ec467b8b699612033db005471862f (diff) |
build system: add capability to build Leopard target from Snow Leopard Host
To configure for building Leopard target from Snow Leopard:
configure --sysroot /Developer/SDKs/MacOSX10.5.sdk --minver 10.5
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2806 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/module.defs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/module.defs b/macosx/module.defs index 4b9329f09..725fdfc36 100644 --- a/macosx/module.defs +++ b/macosx/module.defs @@ -39,11 +39,13 @@ MACOSX.XCODE.project = HandBrake.xcodeproj ## $(1) = list of targets ## $(2) = list of goals to shunt thru xcodebuild->make ## +XCODE.sysroot = $(foreach sdk,$(GCC.sysroot),-sdk $(sdk)) MACOSX.XCODE = $(strip \ cd $(MACOSX.src/) && \ $(MACOSX.XCODE.exe) \ -project $(MACOSX.XCODE.project) \ -configuration $(MACOSX.conf) \ + $(XCODE.sysroot) \ $(foreach t,$(1),-target $t) \ EXTERNAL_SRC='$(XCODE.external.src)' \ EXTERNAL_BUILD='$(XCODE.external.build)' \ |