summarylogtreecommitdiffstats
path: root/jam-wine.patch
diff options
context:
space:
mode:
Diffstat (limited to 'jam-wine.patch')
-rw-r--r--jam-wine.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/jam-wine.patch b/jam-wine.patch
new file mode 100644
index 000000000000..91154a734090
--- /dev/null
+++ b/jam-wine.patch
@@ -0,0 +1,26 @@
+diff --git a/build/Jamfile.v2 b/build/Jamfile.v2
+index 6d6d85a..2e53a9e 100644
+--- a/libs/stacktrace/build/Jamfile.v2
++++ b/libs/stacktrace/build/Jamfile.v2
+@@ -15,6 +15,7 @@ lib dl ;
+ lib gcc_s ;
+ lib Dbgeng ;
+ lib ole32 ;
++import os ;
+
+
+ local LIBBACKTRACE_PATH = [ modules.peek : LIBBACKTRACE_PATH ] ;
+@@ -25,9 +26,12 @@ lib backtrace
+ : <include>$(LIBBACKTRACE_PATH)/include
+ ;
+
++local BOOST_CROSSCOMPILING_EMULATOR = [ os.environ BOOST_CROSSCOMPILING_EMULATOR ] ;
++
+ actions mp_simple_run_action
+ {
+- $(>) > $(<)
++ $(BOOST_CROSSCOMPILING_EMULATOR) $(>) > $(<)
++ ls $(<)
+ }
+
+ rule mp-run-simple ( sources + : args * : input-files * : requirements * : target-name )