Skip to content
Snippets Groups Projects
Commit a0de381f authored by Simon McVittie's avatar Simon McVittie
Browse files

wrap: Add libtxc_dxtn.so to the library search path

parent 6ef71c74
No related branches found
No related tags found
No related merge requests found
...@@ -604,6 +604,21 @@ if [ -n "$runtime" ]; then ...@@ -604,6 +604,21 @@ if [ -n "$runtime" ]; then
--provider="/" \ --provider="/" \
"only-dependencies:path-match:$dir/dri/*" "only-dependencies:path-match:$dir/dri/*"
fi fi
# S3TC or S2TC support for Mesa
if [ -e "$dir/libtxc_dxtn.so" ]; then
"$BWRAP" \
--ro-bind / / \
--bind "$tmpdir/overrides" "$tmpdir/overrides" \
--tmpfs "$scratch" \
"${bind_usr_result[@]}" \
"$here/${t}-capsule-capture-libs" \
--container="$scratch" \
--link-target="/run/host" \
--dest="$tmpdir/overrides/lib/$t" \
--provider="/" \
"path-match:$dir/libtxc_dxtn.so"
fi
done done
fi fi
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment