Skip to content
Snippets Groups Projects
Commit e5831665 authored by David's avatar David Committed by David
Browse files

contrib: gme: Add libm to pkg-config file

This library links against libm, so it should be added into its
pkg-config file for static builds.

Refs #27262
parent adf27a00
No related branches found
No related tags found
Loading
--- game-music-emu-0.6.3/gme/libgme.pc.in.old 2022-08-26 08:35:03.000000000 +0200
+++ game-music-emu-0.6.3/gme/libgme.pc.in 2022-08-26 08:35:18.000000000 +0200
@@ -13,4 +13,4 @@
Version: @GME_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lgme
-Libs.private: -lstdc++ @PKG_CONFIG_ZLIB@
+Libs.private: -lstdc++ -lm @PKG_CONFIG_ZLIB@
......@@ -15,6 +15,8 @@ DEPS_gme = zlib $(DEPS_zlib)
game-music-emu: game-music-emu-$(GME_VERSION).tar.xz .sum-gme
$(UNPACK)
$(APPLY) $(SRC)/gme/skip-underrun.patch
$(APPLY) $(SRC)/gme/add-libm.patch
$(call pkg_static,"gme/libgme.pc.in")
$(MOVE)
.gme: game-music-emu toolchain.cmake
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment