From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 237F9471D4 for ; Tue, 29 Aug 2023 09:33:53 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 58D7668C65E; Tue, 29 Aug 2023 12:33:50 +0300 (EEST) Received: from bonnix2.bonnix.it (bonnix2.bonnix.it [37.247.49.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0382868BF4D for ; Tue, 29 Aug 2023 12:33:43 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.11.0 bonnix2.bonnix.it 87750BEDA8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bonslack.org; s=20220805; t=1693301623; bh=DAvre8k0hBvQui6jhqgTpEZQ1aWc/nqHToFB8b3ob5c=; h=Date:From:Subject:To; b=r/H+EJQw/RBAca+BMuwWrYQ4C096QuAXpoXLHdblFhvDV8EOVWAje7kl4O4LeEBCZ 7JpgViH3AjJnXH8nP1+EJ4quKDgWVMmcyrJ4s+RQ0fXRpIFYE6ZuDsLGI4RXwmbi13 Jf05OCmTSEYOInPw+2FRwvseKkRhQ8qEvB8s/ovA= Received: from [10.0.0.70] (dynamic-adsl-84-221-84-104.clienti.tiscali.it [84.221.84.104]) by bonnix2.bonnix.it (Postfix) with ESMTPSA id 87750BEDA8 for ; Tue, 29 Aug 2023 11:33:43 +0200 (CEST) Message-ID: <5fcf45e6-2604-1a9c-5d86-46ab9a923969@bonslack.org> Date: Tue, 29 Aug 2023 11:33:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: it From: Luca Bonissi To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] Build failed with newer glslang X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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-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".