Mercurial > mxe-octave
changeset 603:bbeb07907607
fix for systems where wine confuses the cross-compiling detection of ./configure
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 20 Dec 2009 13:34:05 +0100 |
parents | abe28c98ef68 |
children | 95aeaeacaf9c |
files | src/freetds.mk |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/freetds.mk Sun Dec 20 05:47:50 2009 +0100 +++ b/src/freetds.mk Sun Dec 20 13:34:05 2009 +0100 @@ -43,6 +43,9 @@ # package uses winsock2.h, so it should link to ws2_32 instead of wsock32 $(SED) 's,wsock32,ws2_32,g' -i '$(1)'/configure + # wine confuses the cross-compiling detection, so set it explicitly + $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' + # beware --with-gnutls broken detection cd '$(1)' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \