.: Allow building with arbitrary SDK and ARCHS with make + Xcode
[WebKit-https.git] / Tools / DumpRenderTree / Makefile
index 1f1dbbc..366f8d9 100644 (file)
@@ -1,2 +1,9 @@
 SCRIPTS_PATH = ../Scripts
+
+ifneq (,$(findstring iphoneos,$(SDK)))
+       OTHER_OPTIONS += -target All-iOS
+else ifneq (,$(findstring iphonesimulator,$(SDK)))
+       OTHER_OPTIONS += -target All-iOS
+endif
+
 include ../../Makefile.shared