WAF: the correct form of the rpath option should be -rpath, not --rpath; fixed.

Gustavo J. A. M. Carneiro 2007-05-18 11:27:20 +01:00
parent d386be9d5d
commit 777438f7fc
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def build(bld):
if sys.platform == 'win32': if sys.platform == 'win32':
os.environ["PATH"] = ';'.join([os.environ["PATH"], node.abspath(env)]) os.environ["PATH"] = ';'.join([os.environ["PATH"], node.abspath(env)])
else: else:
env.append_value('RPATH', '-Wl,--rpath=%s' % (node.abspath(env),)) env.append_value('RPATH', '-Wl,-rpath=%s' % (node.abspath(env),))
bld.add_subdirs(all_modules) bld.add_subdirs(all_modules)