[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Building DLL's for Windows

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-01-07 18:44:07 CET

Branko ÄŒibej wrote:
> Judging by the .ezt templates for the project files, adding a
> description should be enough ...
Problem is that the description is set on the static library target, so
svn.rc is added to that target instead of the dll target.

Attached patch will fix that. I now wonder if we can get rid of empty.c.

Lieven

Index: build/generator/gen_win.py
===================================================================
--- build/generator/gen_win.py (revision 22880)
+++ build/generator/gen_win.py (working copy)
@@ -312,6 +312,10 @@
                                 self)
     target.msvc_export = dep.msvc_export
 
+ # move the description from the static library target to the dll.
+ target.desc = dep.desc
+ dep.desc = None
+
     # The dependency should now be static.
     dep.msvc_export = None
     dep.msvc_static = True

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 7 18:44:18 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.