]> git.saurik.com Git - apple/configd.git/blobdiff - Makefile
configd-596.12.tar.gz
[apple/configd.git] / Makefile
index af81588b7b52bc164ebd8520d91e9bff4b43f65a..79147d2e00ac266f5efef7d21d906e64a9bc3efa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,8 @@ LION_CFLAGS+=-D__MAC_10_8=1070
 LION_CFLAGS+=-D__AVAILABILITY_INTERNAL__MAC_10_8=__attribute__((visibility(\\\"default\\\")))
 LION_CFLAGS+=-DHAVE_REACHABILITY_SERVER=YES
 
+LION_SDKROOT=$(shell xcodebuild -version -sdk macosx10.7internal Path)
+
 lion :
        /usr/local/bin/buildit .                                \
          -noinstallsrc -noinstallhdrs -noverify -nosum         \
@@ -52,4 +54,6 @@ lion :
          -configuration Debug                                  \
          -release $(shell cat /usr/share/buildit/.releaseName) \
          -othercflags "$(LION_CFLAGS)"                         \
+         --                                                    \
+         SDKROOT=$(LION_SDKROOT)                               \