util/mkspecs/features/mac/sdk.prf
changeset 7 f7bc934e204c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/util/mkspecs/features/mac/sdk.prf	Wed Mar 31 11:06:36 2010 +0300
@@ -0,0 +1,8 @@
+!isEmpty(QMAKE_MAC_SDK) {
+    !macx-xcode:!macx-pbuilder {
+        QMAKE_CFLAGS += -isysroot $$QMAKE_MAC_SDK
+        QMAKE_OBJECTIVE_CFLAGS += -isysroot $$QMAKE_MAC_SDK
+        QMAKE_CXXFLAGS += -isysroot $$QMAKE_MAC_SDK
+        QMAKE_LFLAGS += -Wl,-syslibroot,$$QMAKE_MAC_SDK
+    }
+}