In order to make rss.exe self contained, -static-libgcc
has to be added to mingw command line. Update the Makefile
to reflect that.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 client/tests/kvm/deps/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/deps/Makefile b/client/tests/kvm/deps/Makefile
index a254d6a..06ddf65 100644
--- a/client/tests/kvm/deps/Makefile
+++ b/client/tests/kvm/deps/Makefile
@@ -1,7 +1,7 @@
 all:
        make rss.exe finish.exe
 rss.exe:
-       i686-pc-mingw32-g++ rss.cpp -lws2_32 -lshlwapi -mwindows -o rss.exe
+       i686-pc-mingw32-g++ rss.cpp -static-libgcc -lws2_32 -lshlwapi -mwindows 
-o rss.exe
 finish.exe:
        i686-pc-mingw32-g++ finish.cpp -lws2_32 -o finish.exe
 clean:
-- 
1.7.1

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to