[gtk-osx] Bug 755358 - Improper LIBRARY_PATH breaks cairo build in meta-gtk-osx-core



commit d4e5d5ecca95586e9fed1cd8c33d2c809f6fc514
Author: John Ralls <jralls ceridwen us>
Date:   Mon Sep 21 10:16:27 2015 -0700

    Bug 755358 - Improper LIBRARY_PATH breaks cairo build in meta-gtk-osx-core
    
    Use the correct separator when appending the SDK dir.

 jhbuildrc-gtk-osx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index e739d7c..fe182d2 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -251,8 +251,8 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
         environ_prepend("CXXFLAGS", "-I" + sdkdir + "/usr/include")
         environ_prepend("OBJCFLAGS", "-I" + sdkdir + "/usr/include")
         environ_prepend("CPPFLAGS", "-I" + sdkdir + "/usr/include")
-        environ_prepend("CMAKE_PREFIX_PATH", os.path.join(sdkdir, 'usr'))
-        environ_prepend("LIBRARY_PATH", sdkdir + "/usr/lib")
+        environ_prepend("CMAKE_PREFIX_PATH", os.path.join(sdkdir, 'usr'), ':')
+        environ_prepend("LIBRARY_PATH", sdkdir + "/usr/lib", ':')
         # It looks like -isysroot is broken when building on 10.4, causing link
         # problems. But we don't really need to set it for 10.4 so just
         # skip that.


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