[jhbuild] environment: set OBJC_INCLUDE_PATH



commit c16c163adfaaab510534bf6ab7a10a1a02a11b66
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Dec 23 17:45:45 2014 -0500

    environment: set OBJC_INCLUDE_PATH
    
    Some libraries (GLib and Gtk, for example) compile some files using the
    objective C compiler on Mac OS.  This compiler won't find headers in
    paths in C_INCLUDE_PATH; it needs them in OBJC_INCLUDE_PATH.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741931

 jhbuild/environment.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index 095269b..808609e 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -136,6 +136,7 @@ def setup_env(prefix):
 
     includedir = os.path.join(prefix, 'include')
     addpath('C_INCLUDE_PATH', includedir)
+    addpath('OBJC_INCLUDE_PATH', includedir)
     addpath('CPLUS_INCLUDE_PATH', includedir)
 
     # On Mac OS X, we use DYLD_FALLBACK_LIBRARY_PATH


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