mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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:
@@ -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.
|
and control points. It is shared by upmpdcli and upplay.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm)
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libupnpp $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libupnpp $(1)/usr/include/
|
||||||
|
|||||||
Reference in New Issue
Block a user