[multimedia/kwave] plugins/codec_mp3: codec_mp3: do no longer explizitly link against libstdc++ and libz

Thomas Eschenbacher <[email protected]> Tue, 4 Aug 2026 15:37:50 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 34a3357f1547ab29f458ebfa1fb69eea09d09920 by Thomas Eschenbacher.
Committed on 04/08/2026 at 15:37.
Pushed by eschenbacher into branch 'master'.

codec_mp3: do no longer explizitly link against libstdc++ and libz

Resolve "23.08.3: bild fails with `/usr/bin/ld: cannot find -lz`"
Closes #3

M  +1    -1    plugins/codec_mp3/CMakeLists.txt

https://invent.kde.org/multimedia/kwave/-/commit/34a3357f1547ab29f458ebfa1fb69eea09d09920

diff --git a/plugins/codec_mp3/CMakeLists.txt b/plugins/codec_mp3/CMakeLists.txt
index 299d2fa9..a657e9b2 100644
--- a/plugins/codec_mp3/CMakeLists.txt
+++ b/plugins/codec_mp3/CMakeLists.txt
@@ -55,7 +55,7 @@ IF (WITH_MP3)
     )
 
     SET(plugin_codec_mp3_LIBS
-        ${LIBMAD} ${ID3LIB} stdc++ z
+        ${LIBMAD} ${ID3LIB}
     )
 
     INCLUDE(CheckCXXCompilerFlag)