summaryrefslogtreecommitdiffstats
path: root/macosx/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/module.defs')
-rw-r--r--macosx/module.defs2
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)' \