Merge pull request #11448 from neheb/upnpppppp

libupnpp: link against libm under glibc
This commit is contained in:
Rosen Penev
2020-02-27 14:16:57 -08:00
committed by GitHub
+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. 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/