Vlad Georgescu wrote:
> Oops. It's supposed to work just like pre-r22841 builds, except that
> it's currently broken. The following patch should fix this:
>
> - self.msvc_static = options.get('msvc-static') == 'yes' # is a static lib
> self.msvc_fake = options.get('msvc-fake') == 'yes' # has fake target
> self.msvc_export = string.split(options.get('msvc-export', ''))
> + # Is a static lib
> + self.msvc_static = options.get('msvc-static') == 'yes' \
> + or (self.msvc_export and gen_obj.disable_shared)
>
I've tried this patch on the windows buildslave and my laptop, the tests
don't start:
Traceback (most recent call last):
File "C:\devel\subversion\trunk\win-tests.py", line 54, in ?
gen_obj = gen_win.GeneratorBase('build.conf', version_header, [])
File "build\generator\gen_base.py", line 123, in __init__
section.create_targets()
File "build\generator\gen_base.py", line 339, in create_targets
self.target = self.target_class(self.name, self.options, self.gen_obj)
File "build\generator\gen_base.py", line 454, in __init__
self.msvc_static = options.get('msvc-static') == 'yes' \
AttributeError: GeneratorBase instance has no attribute 'disable_shared'
Lieven
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 3 20:29:22 2007