Browse Source
Merge pull request #11448 from neheb/upnpppppp
libupnpp: link against libm under glibc
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
libs/libupnpp/Makefile
|
|
@ -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/ |
|
|
|