From patchwork Mon Aug 17 23:21:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Langdale X-Patchwork-Id: 21695 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 35B1244B964 for ; Tue, 18 Aug 2020 02:21:43 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0CD8A68B7E1; Tue, 18 Aug 2020 02:21:43 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D9B9468B6C0 for ; Tue, 18 Aug 2020 02:21:36 +0300 (EEST) Received: from authenticated-user (mail.overt.org [157.230.92.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.overt.org (Postfix) with ESMTPSA id 054B43F208; Mon, 17 Aug 2020 18:21:34 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1597706495; bh=zTivsLEDvSVeFcMSUl4fFWq2xv2Faai0kOC42OtOsZM=; h=From:To:Cc:Subject:Date:From; b=oV5ZWFXI/3T4XcsOE9CJgCtekUkImx94vjl+2b48fHIaiY56hO5AgA5IPVWOYOlMl G684tt4jsb3z0GND2MxywkzOpvZLy3KRDwRbu0/LtJWAX6SOgnLJuiNBrxvNlC8Icc oHUL9H3/gEQoZOhFuR9zTyTzPHRyOvrjZjly5mIpcjVyRSg0u+d6Gs3kZl+q11CjCT 5cwEclDW57yjedF8pHCWqxbAsvwRlVPQNf6ILQIE3suiPJDAUbWburFT0zB82O7NRL 6S9/4eN1Di35ypdcG0O56zxxSHRAPaTowMjiHZVFqfp+ZS2S6zxhPzk+E/9S0oztaQ 6H6zQaogwcZrw== From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Date: Mon, 17 Aug 2020 16:21:23 -0700 Message-Id: <20200817232123.149267-1-philipl@overt.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] configure: Add additional glslang libraries to make linking work X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Cc: Philip Langdale Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The latest builds of glslang introduce new libraries that need to be linked for all symbols to be fully resolved. Presumably, requiring these new libraries breaks building against older glslang releases? What range are we committing to supporting? Signed-off-by: Philip Langdale --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 07e07850e8..4bff8d53ce 100755 --- a/configure +++ b/configure @@ -6343,7 +6343,7 @@ enabled fontconfig && enable libfontconfig enabled libfontconfig && require_pkg_config libfontconfig fontconfig "fontconfig/fontconfig.h" FcInit 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 && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ +enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu || require libgme gme/gme.h gme_new_emu -lgme -lstdc++; } enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do