From 7518849bdab3fbf646e67938a9454ac90031a0d3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 26 Feb 2020 20:17:03 -0800 Subject: [PATCH] upmpdcli: link against libm under glibc Fixes compilation. Signed-off-by: Rosen Penev --- sound/upmpdcli/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/upmpdcli/Makefile b/sound/upmpdcli/Makefile index a89f8a0a65..9cc15bdf41 100644 --- a/sound/upmpdcli/Makefile +++ b/sound/upmpdcli/Makefile @@ -42,6 +42,8 @@ define Package/upmpdcli/config source "$(SOURCE)/Config.in" endef +TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm) + define Package/upmpdcli/install $(INSTALL_DIR) $(1)/etc $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/upmpdcli.conf $(1)/etc/