* [FFmpeg-devel] [PATCH] Build failed with newer glslang
@ 2023-08-29 9:33 Luca Bonissi
2023-08-31 15:41 ` Stefano Sabatini
0 siblings, 1 reply; 2+ messages in thread
From: Luca Bonissi @ 2023-08-29 9:33 UTC (permalink / raw)
To: ffmpeg-devel
Newer glslang does no more provide static libraries libOSDependent.a and
libOGLCompiler.a.
These libraries are only used in configure's test to detect
spirv_compiler, but are no more necessary even with older glslang.
The following patch fixes the build issue.
Signed-off-by: Luca Bonissi <ffmpeg@bonslack.org>
--
--- ffmpeg-5.1.3/configure.orig 2023-03-26 16:21:00.000000000 +0200
+++ ffmpeg-5.1.3/configure 2023-08-29 10:50:29.433307045 +0200
@@ -6551,10 +6551,10 @@
enabled libfreetype && require_pkg_config libfreetype freetype2
"ft2build.h FT_FREETYPE_H" FT_Init_FreeType
enabled libfribidi && require_pkg_config libfribidi fribidi
fribidi.h fribidi_version_info
enabled libglslang && { check_lib spirv_compiler
glslang/Include/glslang_c_interface.h glslang_initialize_process \
- -lglslang -lMachineIndependent
-lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \
+ -lglslang -lMachineIndependent -lHLSL
-lGenericCodeGen \
-lSPVRemapper -lSPIRV -lSPIRV-Tools-opt
-lSPIRV-Tools -lpthread -lstdc++ -lm ||
require spirv_compiler
glslang/Include/glslang_c_interface.h glslang_initialize_process \
- -lglslang -lOSDependent -lHLSL -lOGLCompiler \
+ -lglslang -lHLSL \
-lSPVRemapper -lSPIRV -lSPIRV-Tools-opt
-lSPIRV-Tools -lpthread -lstdc++ -lm; }
enabled libgme && { check_pkg_config libgme libgme
gme/gme.h gme_new_emu ||
require libgme gme/gme.h gme_new_emu
-lgme -lstdc++; }
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH] Build failed with newer glslang
2023-08-29 9:33 [FFmpeg-devel] [PATCH] Build failed with newer glslang Luca Bonissi
@ 2023-08-31 15:41 ` Stefano Sabatini
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Sabatini @ 2023-08-31 15:41 UTC (permalink / raw)
To: FFmpeg development discussions and patches
On date Tuesday 2023-08-29 11:33:43 +0200, Luca Bonissi wrote:
> Newer glslang does no more provide static libraries libOSDependent.a and
> libOGLCompiler.a.
> These libraries are only used in configure's test to detect spirv_compiler,
> but are no more necessary even with older glslang.
>
> The following patch fixes the build issue.
>
> Signed-off-by: Luca Bonissi <ffmpeg@bonslack.org>
> --
>
> --- ffmpeg-5.1.3/configure.orig 2023-03-26 16:21:00.000000000 +0200
> +++ ffmpeg-5.1.3/configure 2023-08-29 10:50:29.433307045 +0200
Please use git format-patch and send a patch against current mainline
(also the patch below seems mangled):
https://ffmpeg.org/developer.html#Submitting-patches
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-31 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 9:33 [FFmpeg-devel] [PATCH] Build failed with newer glslang Luca Bonissi
2023-08-31 15:41 ` Stefano Sabatini
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git