diff options
author | Simon Rettberg | 2017-07-17 16:52:12 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-07-17 16:52:12 +0200 |
commit | c1268132bdecb46f1561be9afaef9e3a4f1ad3f0 (patch) | |
tree | d6a6aa6136c4dfaf063f66b46bcdd9708d4aa5f0 /core/modules/run-virt/winres/compile | |
parent | [run-virt] openslx.exe: Fix segfault when host name of network share cannot b... (diff) | |
download | mltk-c1268132bdecb46f1561be9afaef9e3a4f1ad3f0.tar.gz mltk-c1268132bdecb46f1561be9afaef9e3a4f1ad3f0.tar.xz mltk-c1268132bdecb46f1561be9afaef9e3a4f1ad3f0.zip |
[run-virt] Better structure for winres/openslx.exe source tree
Diffstat (limited to 'core/modules/run-virt/winres/compile')
-rwxr-xr-x | core/modules/run-virt/winres/compile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/modules/run-virt/winres/compile b/core/modules/run-virt/winres/compile index da2f59eb..ca5a50a8 100755 --- a/core/modules/run-virt/winres/compile +++ b/core/modules/run-virt/winres/compile @@ -1,10 +1,10 @@ #!/bin/sh -rm -- winres.exe -i686-w64-mingw32-windres -i winres.rc -o resource.res -O coff -i686-w64-mingw32-gcc -Wall -Wextra -pedantic -Wno-unused-parameter -flto -std=c99 -Os -Wl,--subsystem,windows -o winres.exe winres.c resource.res -lole32 -luuid -lgdi32 -lws2_32 -lshell32 -lmpr -lshlwapi -rm -- resource.res -if strip winres.exe; then +mkdir -p tmp +rm -- winres.exe tmp/resource.res tmp/winres.debug.exe +i686-w64-mingw32-windres -i src/winres.rc -o tmp/resource.res -O coff +i686-w64-mingw32-gcc -Wall -Wextra -pedantic -Wno-unused-parameter -flto -std=c99 -Os -Wl,--subsystem,windows -o tmp/winres.debug.exe src/winres.c tmp/resource.res -lole32 -luuid -lgdi32 -lws2_32 -lshell32 -lmpr -lshlwapi +if strip -o winres.exe tmp/winres.debug.exe; then echo "Successfully created winres.exe" echo "It has NOT been moved to data/.../openslx.exe" else |