diff options
Diffstat (limited to 'dist-win.sh')
-rwxr-xr-x | dist-win.sh | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/dist-win.sh b/dist-win.sh index cfb6414..88836a5 100755 --- a/dist-win.sh +++ b/dist-win.sh | |||
@@ -29,20 +29,11 @@ for ARCH in X86 X64; do | |||
29 | make -j 4 install DESTDIR=`pwd`/stage-$ARCHDIR | 29 | make -j 4 install DESTDIR=`pwd`/stage-$ARCHDIR |
30 | 30 | ||
31 | mkdir -p $DIST/$ARCHDIR | 31 | mkdir -p $DIST/$ARCHDIR |
32 | #cp -a stage-$ARCHDIR/usr/local/lib/* $DIST/$ARCHDIR | ||
33 | if [ ! -e $DIST/include ]; then | 32 | if [ ! -e $DIST/include ]; then |
34 | cp -a stage-$ARCHDIR/usr/local/include $DIST | 33 | cp -r stage-$ARCHDIR/usr/local/include $DIST |
35 | sed -i -e 'N;/\n.*__non/s/"\? *\n/ /;P;D' \ | ||
36 | $DIST/include/openssl/*.h $DIST/include/*.h | ||
37 | sed -i -e 'N;/\n.*__attr/s/"\? *\n/ /;P;D' \ | ||
38 | $DIST/include/openssl/*.h $DIST/include/*.h | ||
39 | sed -i -e "s/__attr.*;/;/" \ | ||
40 | -e "s/sys\/time.h/winsock2.h/" \ | ||
41 | $DIST/include/openssl/*.h $DIST/include/*.h | ||
42 | fi | 34 | fi |
43 | 35 | ||
44 | cp stage-$ARCHDIR/usr/local/bin/* $DIST/$ARCHDIR | 36 | cp stage-$ARCHDIR/usr/local/bin/* $DIST/$ARCHDIR |
45 | #cp /usr/$HOST/sys-root/mingw/bin/libssp* $DIST/$ARCHDIR | ||
46 | 37 | ||
47 | for i in libcrypto libssl libtls; do | 38 | for i in libcrypto libssl libtls; do |
48 | DLL=$(basename `ls -1 $DIST/$ARCHDIR/$i*.dll`|cut -d. -f1) | 39 | DLL=$(basename `ls -1 $DIST/$ARCHDIR/$i*.dll`|cut -d. -f1) |