gotta have a main...

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5757 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-11-01 20:10:20 +00:00
parent 08c28ddbc9
commit 4a7976e5a6
2 changed files with 9 additions and 3 deletions

View file

@ -0,0 +1,6 @@
#include <windows.h>
BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
{
return TRUE;
}

View file

@ -40,11 +40,11 @@ BuildPlugin(
Import('env')
res = 'Resource/Resource.rc'
res_obj = 'Resource/Resource-rc.o'
res_target = env.RES(res_obj, res)
res_main = env.Object('Resource/Main.c')
resources = Split("""
Resource/Icon.ico
Resource/Resource.h
@ -52,4 +52,4 @@ resources = Split("""
env.Depends(res_target, resources)
env.SharedLibrary('Resource', res_target)
env.SharedLibrary('Resource', res_target + res_main)