diff options
author | Tony Theodore <tonyt@logyst.com> | 2011-05-24 12:33:41 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2011-05-24 12:33:41 (GMT) |
commit | 94caa7482c293a74b3533bee27fbdd3d035f4eef (patch) | |
tree | 093200c89678bb2286383577f41e01e60a18bf76 | |
parent | e05ed2c7182b2551a67279c3ae2f3f950d43624c (diff) | |
download | mxe-94caa7482c293a74b3533bee27fbdd3d035f4eef.zip mxe-94caa7482c293a74b3533bee27fbdd3d035f4eef.tar.gz mxe-94caa7482c293a74b3533bee27fbdd3d035f4eef.tar.bz2 |
package fltk: portability patch for osx
autoconf already called in makefile
-rw-r--r-- | src/fltk-1-darwin-cross-compile.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fltk-1-darwin-cross-compile.patch b/src/fltk-1-darwin-cross-compile.patch new file mode 100644 index 0000000..baf2607 --- /dev/null +++ b/src/fltk-1-darwin-cross-compile.patch @@ -0,0 +1,18 @@ +This file is part of mingw-cross-env. +See doc/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 +@@ -34,7 +34,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 |