Ensure that the stubs directory does not end up in the rpath (#17619)
This commit is contained in:
parent
d3e4b14997
commit
54bce00d4d
@ -138,6 +138,7 @@ def libs(self):
|
||||
# CUDA 10.0 provides Compatability libraries for running newer versions
|
||||
# of CUDA with older drivers. These do not work with newer drivers.
|
||||
for lib in libs:
|
||||
if 'compat' not in lib.split(os.sep):
|
||||
parts = lib.split(os.sep)
|
||||
if 'compat' not in parts and 'stubs' not in parts:
|
||||
filtered_libs.append(lib)
|
||||
return LibraryList(filtered_libs)
|
||||
|
Loading…
Reference in New Issue
Block a user