Skip to content

Commit

Permalink
remove -lgcc_s from pkg-config
Browse files Browse the repository at this point in the history
Otherwise -lgcc_s prevents libvvenc from being used, when linking e.g.
fmpeg with -static.
  • Loading branch information
K-os committed Dec 6, 2024
1 parent 632e4b1 commit 0ce7930
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/vvencInstall.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 0ce7930

Please sign in to comment.