summary refs log tree commit diff stats
path: root/plugins/python/python.def
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python/python.def')
0 files changed, 0 insertions, 0 deletions
thor Berke Viktor <bviktor@hexchat.org> 2012-10-03 16:31:24 +0200 committer Berke Viktor <bviktor@hexchat.org> 2012-10-03 16:31:24 +0200 Move license files to share\doc' href='/git-repos/torxchat.git/commit/win32/deps/libffi/release-x86.bat?id=4b699210bd9bab344e1462e7998f863f55836402'>4b699210 ^
b451ebc9 ^










1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35














                                         


                                     




                                                                        
                                                    










                                     
:: run this from a command prompt
@echo off

SET PACKAGE_NAME=libffi-3.0.11

set LIBFFI_SRC=%cd%
set LIBFFI_DEST=%cd%-x86
echo.Press return when ready to install!
pause

rmdir /q /s %LIBFFI_DEST%
mkdir %LIBFFI_DEST%
mkdir %LIBFFI_DEST%\bin
mkdir %LIBFFI_DEST%\include
mkdir %LIBFFI_DEST%\lib
mkdir %LIBFFI_DEST%\share
mkdir %LIBFFI_DEST%\share\doc
mkdir %LIBFFI_DEST%\share\doc\libffi
set OUTDIR=i686-pc-mingw32
copy %OUTDIR%\include\ffi.h %LIBFFI_DEST%\include
copy %OUTDIR%\include\ffitarget.h %LIBFFI_DEST%\include
copy %OUTDIR%\.libs\libffi_convenience.lib %LIBFFI_DEST%\lib\libffi.lib
copy %OUTDIR%\.libs\libffi-6.dll %LIBFFI_DEST%\bin
copy LICENSE %LIBFFI_DEST%\share\doc\libffi\COPYING

cd %LIBFFI_DEST%
set PATH=%PATH%;%ProgramFiles%\7-zip
del ..\%PACKAGE_NAME%-x86.7z
7z a ..\%PACKAGE_NAME%-x86.7z *
cd %LIBFFI_SRC%
rmdir /q /s %LIBFFI_DEST%
rmdir /q /s %OUTDIR%

echo.Finished!
pause