changeset 1836:621a6afbfbee

wine fix for package gsoap
author Martin Lambers <marlam@marlam.de>
date Fri, 20 May 2011 13:25:02 +0200
parents 066fdb873247
children f4390a9c454f
files src/gsoap.mk
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gsoap.mk	Fri May 20 02:43:53 2011 +0200
+++ b/src/gsoap.mk	Fri May 20 13:25:02 2011 +0200
@@ -31,6 +31,9 @@
 
     $(MAKE) -C '$(1)' -j '$(JOBS)' clean
 
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
+
     # Build for mingw. Static by default.
     # Prevent undefined reference to _rpl_malloc.
     # http://groups.google.com/group/ikarus-users/browse_thread/thread/fd1d101eac32633f