blob: 0b0da336514a17eaefe3df9009cb80bbec891e58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Run autoOpenGLRunpath on all files
echo "Sourcing auto-add-opengl-runpath-hook"
autoAddOpenGLRunpathPhase () {
# TODO: support multiple outputs
for file in $(find ${out,lib,bin} -type f); do
addOpenGLRunpath $file
done
}
if [ -z "${dontUseAutoAddOpenGLRunpath-}" ]; then
echo "Using autoAddOpenGLRunpathPhase"
postFixupHooks+=(autoAddOpenGLRunpathPhase)
fi
|