libupnpp: link against libm under glibc

Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 4ba3e9cd8d)
This commit is contained in:
Rosen Penev
2020-04-17 14:52:28 -07:00
parent b3a09f0397
commit a39c4e8e04
+2
View File
@@ -37,6 +37,8 @@ libupnpp defines useful objects over libupnp and can be used to create both devi
and control points. It is shared by upmpdcli and upplay.
endef
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm)
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/libupnpp $(1)/usr/include/