diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-29 07:34:52 (GMT) |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-29 07:37:16 (GMT) |
commit | ad95680fa935f0fcf320d9293535a811b88584e1 (patch) | |
tree | 5d16aaed68e97e89e297e1cf4378af1fd0de23a9 | |
parent | bdac270058a9ee93a3008e3ff37e8dbd8b3d6b69 (diff) | |
download | SCons-ad95680fa935f0fcf320d9293535a811b88584e1.zip SCons-ad95680fa935f0fcf320d9293535a811b88584e1.tar.gz SCons-ad95680fa935f0fcf320d9293535a811b88584e1.tar.bz2 |
drop unnecessary soname check on OpenBSD
The changelog for the 4.1 release says that
- No longer automatically disable setting SONAME on shared libraries
on OpenBSD.
this bit was left out.
-rw-r--r-- | test/Libs/SharedLibrary.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/Libs/SharedLibrary.py b/test/Libs/SharedLibrary.py index f67d707..cda9065 100644 --- a/test/Libs/SharedLibrary.py +++ b/test/Libs/SharedLibrary.py @@ -57,13 +57,6 @@ obj = env.SharedObject('bar', 'foo.c') Default(env.Library(target='foo', source=obj)) """) -test.write('SConstructBaz', """ -env = Environment() -env['SHLIBVERSION'] = '1.0.0' -obj = env.SharedObject('baz', 'foo.c') -Default(env.SharedLibrary(target='baz', source=obj)) -""") - test.write('foo.c', r""" #include <stdio.h> @@ -288,12 +281,6 @@ main(int argc, char *argv[]) test.run(program = test.workpath('progbar'), stdout = "f4.c\nprogbar.c\n") -if sys.platform.startswith('openbsd'): - # Make sure we don't link libraries with -Wl,-soname on OpenBSD. - test.run(arguments = '-f SConstructBaz') - for line in test.stdout().split('\n'): - test.fail_test(line.find('-Wl,-soname=libbaz.so') != -1) - test.pass_test() # Local Variables: |