Mercurial > mxe-octave
changeset 291:25d9750b7a6a
portability fix for MacOS X in package glib: set CXX explicitly
For some strange reason, glib's configure script initializes
CXX with "c++" instead of the cross C++ compiler. This usually
does no harm, because glib doesn't use the C++ compiler. However,
it poisons libtool's compiler lib search paths. This also usually
does no harm, except on MacOS X where it causes libtool to link
against /usr/lib/libiconv.dylib, which makes the cross build fail.
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 08 Mar 2009 14:41:47 +0100 |
parents | bbb279243ae0 |
children | d21deb518fb4 |
files | src/glib.mk |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/glib.mk Sun Mar 08 13:30:08 2009 +0100 +++ b/src/glib.mk Sun Mar 08 14:41:47 2009 +0100 @@ -53,6 +53,7 @@ --with-threads=win32 \ --with-pcre=system \ --with-libiconv=gnu \ + CXX='$(TARGET)-c++' \ PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef