Mercurial > mxe-octave
changeset 336:95a831e1dd54
fix for systems where wine confuses the cross-compiling detection of ./configure
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 22 Apr 2009 09:59:54 +0200 |
parents | 59f8013704ab |
children | 15c74c7af78c |
files | src/glib.mk src/pcre.mk |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/glib.mk Wed Apr 22 09:57:49 2009 +0200 +++ b/src/glib.mk Wed Apr 22 09:59:54 2009 +0200 @@ -47,6 +47,8 @@ # cross build $(SED) 's,^\(Libs:.*\),\1 @PCRE_LIBS@ @G_THREAD_LIBS@ @G_LIBS_EXTRA@ -lshlwapi,' -i '$(1)/glib-2.0.pc.in' + # wine confuses the cross-compiling detection, so set it explicitly + $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \
--- a/src/pcre.mk Wed Apr 22 09:57:49 2009 +0200 +++ b/src/pcre.mk Wed Apr 22 09:59:54 2009 +0200 @@ -18,6 +18,8 @@ define $(PKG)_BUILD $(SED) '1i\#define PCRE_STATIC' -i '$(1)/pcre.h.in' + # wine confuses the cross-compiling detection, so set it explicitly + $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \