diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-10-29 17:59:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 17:59:16 (GMT) |
commit | 86e06a8a2cdbd487e685bb51b64979fadbcd5694 (patch) | |
tree | 2cb9c0ba1339b0d6603baf7535631ef4051370f1 /test | |
parent | 23d0a0856eb973f46139190de14bb62dfb3abc27 (diff) | |
parent | ad95680fa935f0fcf320d9293535a811b88584e1 (diff) | |
download | SCons-86e06a8a2cdbd487e685bb51b64979fadbcd5694.zip SCons-86e06a8a2cdbd487e685bb51b64979fadbcd5694.tar.gz SCons-86e06a8a2cdbd487e685bb51b64979fadbcd5694.tar.bz2 |
Merge pull request #4044 from omar-polo/fix-shared-library-test-openbsd
drop unnecessary soname check on OpenBSD
Diffstat (limited to 'test')
-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: |