From 74302fd6044b633bcd683bb8e6a0faa39d113732 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 4 Sep 2009 21:22:41 +0000 Subject: 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 --- macosx/module.defs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'macosx') 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)' \ -- cgit v1.2.3