Mercurial > mxe-octave
view src/fltk-1-darwin-cross-compile.patch @ 3389:4c7ad30fe8a9
of-sockets: update winsock patch
* dist-files.mk: change name from mingw-of-sockets-1-winsock.patch to of-sockets-1-fixes.patch.
* src/of-sockets-1-fixes.patch: moved mingw-of-sockets-1-winsock.patch to of-sockets-1-fixes.patch.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 03 Jan 2014 09:38:32 -0500 |
parents | c2642e72482c |
children |
line wrap: on
line source
This file is part of MXE. See index.html for further information. This patch has been taken from: diff -ur fltk-1.3.x-r8659.orig/configure.in fltk-1.3.x-r8659/configure.in --- fltk-1.3.x-r8659.orig/configure.in 2011-03-07 03:54:58.000000000 +1100 +++ fltk-1.3.x-r8659/configure.in 2011-05-24 22:11:40.000000000 +1000 @@ -25,7 +25,7 @@ AC_INIT(src/Fl.cxx) dnl So --with-archflags option is used during "checking size of long" -if test `uname` = Darwin; then +if test `uname` = Darwin && test "x$cross_compiling" = xno ; then if test "x$with_archflags" != x ; then CFLAGS="$CFLAGS $with_archflags" fi