From 2ed12573b83c1a5d21a081f750d24db1cec62af2 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 17 May 2021 12:04:50 +1000 Subject: [PATCH] examples/qt/textureshare: add explicit dep on glx_dep Fixes linking: /usr/bin/ld: subprojects/gst-plugins-base/tests/examples/gl/qt/qglwtextureshare/qglwtextureshare.p/qglrenderer.cpp.o: undefined reference to symbol 'glXGetCurrentContext' /usr/bin/ld: /usr/lib64/libGLX.so.0: error adding symbols: DSO missing from command line Part-of: --- tests/examples/gl/qt/qglwtextureshare/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/gl/qt/qglwtextureshare/meson.build b/tests/examples/gl/qt/qglwtextureshare/meson.build index 19c830a..9de84f6 100644 --- a/tests/examples/gl/qt/qglwtextureshare/meson.build +++ b/tests/examples/gl/qt/qglwtextureshare/meson.build @@ -15,7 +15,7 @@ qtwinsys_deps = [] if enabled_gl_winsys.contains('x11') and enabled_gl_platforms.contains('glx') qt5x11extras = dependency('qt5', modules : ['X11Extras'], required : false) if qt5x11extras.found() - qtwinsys_deps += qt5x11extras + qtwinsys_deps += [qt5x11extras, glx_dep] else subdir_done() endif -- 2.7.4