[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: Paul T. Burba <ptbsvn_at_adelphia.net>
Date: 2007-01-08 15:18:35 CET

Lieven Govaerts wrote:
> 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

Lieven's patch along with Malcolm's suggested tweak to build.conf (committed r
22930) works: The DLLs on Win32 now include version info.

Thanks for the help all,

Paul B.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 8 15:18:45 2007

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