projects
/
VSoRC
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
installed pty
[VSoRC/.git]
/
node_modules
/
node-pty
/
deps
/
winpty
/
misc
/
build32.sh
diff --git a/node_modules/node-pty/deps/winpty/misc/build32.sh
b/node_modules/node-pty/deps/winpty/misc/build32.sh
new file mode 100644
(file)
index 0000000..
162993c
--- /dev/null
+++ b/
node_modules/node-pty/deps/winpty/misc/build32.sh
@@ -0,0
+1,9
@@
+#!/bin/bash
+set -e
+name=$1
+name=${name%.}
+name=${name%.cc}
+name=${name%.exe}
+echo Compiling $name.cc to $name.exe
+i686-w64-mingw32-g++.exe -static -std=c++11 $name.cc -o $name.exe
+i686-w64-mingw32-strip $name.exe