]> Nishi Git Mirror - tewi.git/commitdiff
add cygwin-wine.sh
authorNishi <nishi@nishi.boats>
Thu, 26 Sep 2024 22:44:15 +0000 (22:44 +0000)
committerNishi <nishi@nishi.boats>
Thu, 26 Sep 2024 22:44:15 +0000 (22:44 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@180 8739d7e6-ffea-ec47-b151-bdff447c6205

cygwin-wine.sh [new file with mode: 0755]

diff --git a/cygwin-wine.sh b/cygwin-wine.sh
new file mode 100755 (executable)
index 0000000..8ce7137
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+# $Id$
+#
+
+#undef NO_IPV6
+#undef NO_SSL
+#define USE_POLL
+#define HAS_CHROOT
+#undef NO_GETADDRINFO
+export WINEPATH='C:\cygwin\bin'
+cat config.h.tmpl | sed -E 's/#undef (NO_IPV6|NO_SSL|NO_GETADDRINFO)/#define \1/g' > config.h
+wine bash cygwin.sh