PR #23286 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23286
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23286.patch

Fixes: avfilter/vulkan_shaderc.c:90: undefined reference to `ff_vk_shader_print'
Fixes: #23231

Signed-off-by: Kacper Michajłow <[email protected]>


From 54750734d1d157df8d495677a53f0df2056a9d8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <[email protected]>
Date: Sun, 31 May 2026 05:19:50 +0200
Subject: [PATCH] avfilter/Makefile: fix build with Vulkan and runtime GLSL
 compilation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fixes: avfilter/vulkan_shaderc.c:90: undefined reference to `ff_vk_shader_print'
Fixes: #23231

Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavfilter/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index 03bf51d3fd..5f0760a2ff 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -670,8 +670,8 @@ OBJS-$(CONFIG_AMOVIE_FILTER)                 += src_movie.o
 OBJS-$(CONFIG_MOVIE_FILTER)                  += src_movie.o
 
 # vulkan libs
-OBJS-$(CONFIG_LIBGLSLANG)                    += vulkan_glslang.o
-OBJS-$(CONFIG_LIBSHADERC)                    += vulkan_shaderc.o
+OBJS-$(CONFIG_LIBGLSLANG)                    += vulkan_glslang.o vulkan.o
+OBJS-$(CONFIG_LIBSHADERC)                    += vulkan_shaderc.o vulkan.o
 
 # Objects duplicated from other libraries for shared builds
 SHLIBOBJS                                    += log2_tab.o
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to