1 # -*- mode:python; coding:utf-8; -*-
3 # The core difference between this test and the one of SharedObjectSuffixIssue
4 # is that here we explicitly use the relevant D tool and things work.
6 DefaultEnvironment(tools=[])
11 shobj = env.SharedObject('code.d')
12 env.SharedLibrary('answer', shobj)
13 ver_lib = env.SharedLibrary('answer_versioned', shobj, SHLIBVERSION='1.1.1', SOVERSION='4')
15 shlibfile = ver_lib[0]
17 for (f,t) in ver_lib[0].attributes.shliblinks:
18 print("SYMLINK:%s,%s"%(f,t))
19 except AttributeError: