[gtk-osx] Set $LIBTOOLIZE to overide those autogen scripts that try to use glibtoolize.



commit 76d6167d72d44381e7983f4f65ee890c931339c8
Author: John Ralls <jralls ceridwen us>
Date:   Sun Jun 17 22:15:48 2012 +0100

    Set $LIBTOOLIZE to overide those autogen scripts that try to use
    glibtoolize.

 jhbuildrc-gtk-osx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index 225bb82..649ead5 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -305,6 +305,10 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
     environ_append("OBJCFLAGS", "-mmacosx-version-min=" + target)
     environ_append("LDFLAGS", "-mmacosx-version-min=" + target)
 
+    #Some autogens detect that it's a Mac and use glibtoolize if it's
+    #available. Override this behavior.
+    environ_append('LIBTOOLIZE', os.path.join(prefix, "bin", "libtoolize"))
+
     #Overcome Python's obnoxious misconfiguration of portable builds
     if len(architectures) == 1:
         os.environ["BUILDCFLAGS"] = os.environ["CFLAGS"]



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