--- subversion-1.1.1/build/generator/gen_base.py.orig Mon Jul 12 23:51:03 2004 +++ subversion-1.1.1/build/generator/gen_base.py Thu Dec 16 01:18:56 2004 @@ -386,6 +386,9 @@ self.manpages = options.get('manpages', '') self.testing = options.get('testing') + if self.install == 'test' or self.install == 'fs-test': + self.link_cmd = '$(LINK_TEST)' + def add_dependencies(self, graph, cfg, extmap): TargetLinked.add_dependencies(self, graph, cfg, extmap) @@ -425,6 +428,12 @@ 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', '')) + + ### more Makefile-specific stuff: + if self.install == 'test': + self.link_cmd = '$(LINK_TEST_LIB)' + elif self.link_cmd == '$(LINK)': + self.link_cmd = '$(LINK_LIB)' class TargetApacheMod(TargetLib):