1.1 --- a/SConstruct Tue Aug 29 18:23:19 2006 +0200
1.2 +++ b/SConstruct Tue Aug 29 18:27:42 2006 +0200
1.3 @@ -219,8 +219,13 @@
1.4
1.5 filename = self.get_mod_output (module, variant)
1.6 if module.executable:
1.7 - module_builder = env.Program (target = filename, source = objects,
1.8 - LIBPATH=lib_path, LIBS=libs, RPATH=lib_path)
1.9 + if env['PLATFORM'] == 'posix':
1.10 + module_builder = env.Program (target = filename, source = objects,
1.11 + LIBPATH=lib_path, LIBS=libs,
1.12 + RPATH=lib_path)
1.13 + else:
1.14 + module_builder = env.Program (target = filename, source = objects,
1.15 + LIBPATH=lib_path, LIBS=libs)
1.16 else:
1.17 if variant.static:
1.18 module_builder = env.StaticLibrary (target = filename, source = objects)