diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-05-03 01:51:07 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2021-05-03 01:51:07 (GMT) |
commit | 75871f612051f0b12ac54e82990aea928cec5b11 (patch) | |
tree | 1e5e58211d95ff66569d6ec884a02bd28fb479dd /test | |
parent | 83b9b9dab10922224d64b84cc1d6c70429e93f3c (diff) | |
download | SCons-75871f612051f0b12ac54e82990aea928cec5b11.zip SCons-75871f612051f0b12ac54e82990aea928cec5b11.tar.gz SCons-75871f612051f0b12ac54e82990aea928cec5b11.tar.bz2 |
Fix Issue #3933 debug output removed from SharedLibrary when SHLIBVERSION is specified. Also fixed shared library file naming, and symlink naming for applelink. Was libxyz.dylib.1.2.3 for example, is now libxyz.1.2.3.dylib
Diffstat (limited to 'test')
-rw-r--r-- | test/LINK/SHLIBVERSIONFLAGS.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/LINK/SHLIBVERSIONFLAGS.py b/test/LINK/SHLIBVERSIONFLAGS.py index 7832862..158e82a 100644 --- a/test/LINK/SHLIBVERSIONFLAGS.py +++ b/test/LINK/SHLIBVERSIONFLAGS.py @@ -47,9 +47,9 @@ elif 'sunlink' in tool_list: soname = 'libfoo.so.4' sonameVersionFlags = r".+ -h %s( .+)+" % soname elif 'applelink' in tool_list: - versionflags = r" 'libfoo.1.dylib'->'libfoo.1.2.3.dylib'" + versionflags = r".+ -Wl,-current_version,1.2.3( .+)+" soname = 'libfoo.4.dylib' - sonameVersionFlags = r" '%s'->'libfoo.1.2.3.dylib'(.+)+" % soname + sonameVersionFlags = r".+ -Wl,-compatibility_version,1.2.0(.+)+" else: test.skip_test('No testable linkers found, skipping the test\n') |