Skip to content

build: fix wayland build

Christian Gmeiner requested to merge austriancoder/freedreno:wayland-fix into master

When I added wayland support I needed it for doing RE. Now I want to use the demos for validation. Without this fix the build fails with the following linker error:

gcc -L /usr/lib test-mrt-fbo.o bmp.o -lEGL -lGLESv2 -lwayland-client -lm -ldl -lc -o test-mrt-fbo /usr/bin/ld: test-mrt-fbo.o: in function make_window': /home/christian/freedreno/tests-3d/test-util-3d.h:546: undefined reference to wl_egl_window_create' collect2: error: ld returned 1 exit status

Signed-off-by: Christian Gmeiner cgmeiner@igalia.com

Merge request reports