aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-11-26 19:43:54 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-11-26 19:43:54 -0500
commit099b6b065e29abe4da02c1271883963b2957224d (patch)
tree946cce27a77cc962ed26096d370d3ba4183e7180
parent1f5074381f9e9bf96236ae50e27863b098856c84 (diff)
Drop all Windows DLL in same dir as minerd.exe
-rwxr-xr-xmknsis.sh23
1 files changed, 18 insertions, 5 deletions
diff --git a/mknsis.sh b/mknsis.sh
index b78cd61..ecd20f8 100755
--- a/mknsis.sh
+++ b/mknsis.sh
@@ -1,7 +1,20 @@
#!/bin/sh
-PATH=$PATH:/usr/i686-pc-mingw32/sys-root/mingw/bin \
- nsiswrapper --run \
- --name "CPU miner" \
- --outfile cpuminer-installer.exe \
- minerd.exe
+MINGW_PATH=/usr/i686-pc-mingw32/sys-root/mingw/bin
+
+PATH=$PATH:$MINGW_PATH \
+ nsiswrapper --run \
+ --name "CPU miner" \
+ --outfile cpuminer-installer.exe \
+ minerd.exe \
+ $MINGW_PATH/libcurl-4.dll=libcurl-4.dll \
+ $MINGW_PATH/pthreadgc2.dll=pthreadgc2.dll \
+ $MINGW_PATH/libidn-11.dll=libidn-11.dll \
+ $MINGW_PATH/libssh2-1.dll=libssh2-1.dll \
+ $MINGW_PATH/libssl-10.dll=libssl-10.dll \
+ $MINGW_PATH/zlib1.dll=zlib1.dll \
+ $MINGW_PATH/libcrypto-10.dll=libcrypto-10.dll \
+ $MINGW_PATH/libiconv-2.dll=libiconv-2.dll \
+ $MINGW_PATH/libintl-8.dll=libintl-8.dll
+
+