From 0ce7930e75d931b7a1e4a8e43fe93eca0bce579a Mon Sep 17 00:00:00 2001 From: Gabriel Hege Date: Fri, 6 Dec 2024 19:47:11 +0100 Subject: [PATCH] remove -lgcc_s from pkg-config Otherwise -lgcc_s prevents libvvenc from being used, when linking e.g. fmpeg with -static. --- cmake/modules/vvencInstall.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/vvencInstall.cmake b/cmake/modules/vvencInstall.cmake index 3e08bb415..512fabc5a 100644 --- a/cmake/modules/vvencInstall.cmake +++ b/cmake/modules/vvencInstall.cmake @@ -134,6 +134,7 @@ if( VVENC_PKG_EXTRA_LIBS ) endif() list( REMOVE_ITEM VVENC_PKG_EXTRA_LIBS "-lc" ) + list( REMOVE_ITEM VVENC_PKG_EXTRA_LIBS "-lgcc_s" ) endif() resolve_target_interface_libs( vvenc VVENC_PKG_INTERFACE_LIBS )