Commit cdbb4720 authored by Ian Lynagh's avatar Ian Lynagh

Fix cmd invocation by libffi cuild system on Windows 7 cygwin

parent f85c084c
......@@ -61,6 +61,11 @@ $(libffi_STAMP_CONFIGURE):
mv libffi/build/ libffi/build/
sed "s/-MD/-MMD/" < libffi/build/ > libffi/build/
# Their cmd invocation only works on msys. On cygwin it starts
# a cmd interactive shell. The replacement works in both environments.
mv libffi/build/ libffi/build/
sed 's#cmd //c echo "\$$1"#cmd /c "echo $$1"#' < libffi/build/ > libffi/build/
# Because -Werror may be in SRC_CC_OPTS/SRC_LD_OPTS, we need to turn
# warnings off or the compilation of libffi might fail due to warnings
cd libffi && \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment