forked from OSchip/llvm-project
Avoid calling basename to compute xdynamiclib_namespec.
This also exposes a xdynamiclib_filename that can be used to simplify a few tests. llvm-svn: 299478
This commit is contained in:
parent
1534495ffd
commit
69a9e931ce
|
@ -202,8 +202,9 @@ elif config.host_os == 'Linux':
|
|||
config.substitutions.append( ("%ld_flags_rpath_so", '') )
|
||||
|
||||
# Must be defined after the substitutions that use %dynamiclib.
|
||||
config.substitutions.append( ("%dynamiclib", '%T/lib%xdynamiclib_namespec.so') )
|
||||
config.substitutions.append( ("%xdynamiclib_namespec", '$(basename %t).dynamic') )
|
||||
config.substitutions.append( ("%dynamiclib", '%T/%xdynamiclib_filename') )
|
||||
config.substitutions.append( ("%xdynamiclib_filename", 'lib%xdynamiclib_namespec.so') )
|
||||
config.substitutions.append( ("%xdynamiclib_namespec", '%basename_t.dynamic') )
|
||||
|
||||
# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
|
||||
# because the test hangs. Adding armhf as we now have two modes.
|
||||
|
|
Loading…
Reference in New Issue