cudaPackages.buildRedist: check stubs output for removeStubsFromRunpathHook

Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
This commit is contained in:
Connor Baker
2025-11-26 01:29:45 +00:00
parent eca21ba099
commit 4944bbd7ae
@@ -157,7 +157,8 @@ checkCudaHasStubsIffIncludeRemoveStubsFromRunpathHook() {
for outputName in $(getAllOutputNames); do
hasStubs=0
if find "${!outputName:?}" -mindepth 1 -type d -name stubs -print -quit | grep --silent .; then
if [[ $outputName == "stubs" ]] ||
find "${!outputName:?}" -mindepth 1 -type d -name stubs -print -quit | grep --silent .; then
hasStubs=1
fi