[win] Embed the icon into .exe

This commit is contained in:
Alexander Kojevnikov 2010-05-21 19:06:58 +10:00
parent 8c37a85268
commit 2dcebc3b30
2 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,12 @@ pushd $(dirname $0)/..
rm -fr win/msi-data
mkdir win/msi-data
CFLAGS="-mwindows" ./configure --prefix=${PWD}/win/msi-data && make && make install
# Compile the resource file
windres win/spek.rc -O coff -o win/spek.res
mkdir src/win && cp win/spek.res src/win/
CFLAGS="-mwindows" LDFLAGS="win/spek.res" ./configure --prefix=${PWD}/win/msi-data && make && make install
cd win/msi-data

1
win/spek.rc Normal file
View File

@ -0,0 +1 @@
0 ICON "spek.ico"