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:
parent
08c28ddbc9
commit
4a7976e5a6
2 changed files with 9 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue