aboutsummaryrefslogtreecommitdiff
path: root/extra/mesa/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mesa/build')
-rwxr-xr-xextra/mesa/build9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/mesa/build b/extra/mesa/build
index 9d8984da..e640260e 100755
--- a/extra/mesa/build
+++ b/extra/mesa/build
@@ -29,6 +29,14 @@ python3 bin/git_sha1_gen.py --output include/git_sha1.h
platforms=x11
cpt l wayland-protocols >/dev/null 2>&1 && platforms=$platforms,wayland
+# Fix broken radeon object links
+(
+ cd src/mesa/drivers/dri/r200
+ find . -type l | while read -r link; do
+ ln -sf "$PWD/../radeon/$link" "$link"
+ done
+)
+
meson \
--prefix=/usr \
--sysconfdir=/etc \
@@ -36,6 +44,7 @@ meson \
--localstatedir=/var \
--buildtype=release \
-Dplatforms="$platforms" \
+ -Dzstd=false \
. output
ninja -C output