[gtk-osx] Add convenience to jhbuild environment pointing to the root of SDK in use.



commit 24065d6bf33db2c25b7e65096b47d0a3519ba4e8
Author: John Ralls <jralls ceridwen us>
Date:   Mon Feb 23 15:27:04 2015 -0800

    Add convenience  to jhbuild environment pointing to the root of SDK in use.

 jhbuildrc-gtk-osx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index f0ead28..8d6b68a 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -266,6 +266,10 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
         # skip that.
         #
 
+        #It's often necessary to look for things in the SDK when
+        #developing, and it takes a lot of typing, so define a
+        #convenience environment variable:
+        environ_append('SDKDIR', sdkdir)
 
 #Apple Documentation says that "-syslibroot" is the arg to pass to the
 #linker, but we are using the compiler to control the linker, and


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]