diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 963a1d3d0..888f9e71e 100755 --- a/configure.py +++ b/configure.py @@ -1283,7 +1283,9 @@ def create_template_vars(build_config, options, modules, cc, arch, osinfo): # This can be made constistent over all platforms in the future 'libname': 'botan' if options.os == 'windows' else 'botan-%d.%d' % (build_config.version_major, build_config.version_minor), - 'so_link': cc.so_link_command_for(osinfo.basename), + 'lib_link_cmd': cc.so_link_command_for(osinfo.basename), + 'app_link_cmd': '$(CXX) -Wl,-rpath=\$$ORIGIN' if options.os == 'linux' else '$(CXX)', + 'test_link_cmd': '$(CXX) -Wl,-rpath=\$$ORIGIN' if options.os == 'linux' else '$(CXX)', 'link_to': ' '.join([cc.add_lib_option + lib for lib in link_to()]), |