Browse Source

libupnp: enable reuseaddr

Helps applications restart safely.

Disabled optssdp. Not used by anything.

Disabled scriptsupport. Not used by anything.

Made all configure options explicit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
8e065c147f
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 20 additions and 1 deletions
  1. +20
    -1
      libs/libupnp/Makefile

+ 20
- 1
libs/libupnp/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libupnp
PKG_VERSION:=1.8.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/pupnp
@ -48,6 +48,25 @@ define Package/libupnp-sample/description
TVcontrolpoint & tvdevice sample applications run inside /etc/upnp-tvdevice/
endef
CONFIGURE_ARGS += \
--enable-client \
--enable-device \
--enable-gena \
--enable-reuseaddr \
--enable-gena \
--enable-webserver \
--enable-ssdp \
--enable-soap \
--enable-tools \
--enable-blocking_tcp_connections \
--enable-samples \
--disable-debug \
--disable-optssdp \
--disable-unspecified_server \
--disable-open_ssl \
--disable-scriptsupport \
--disable-postwrite
TARGET_CFLAGS += -flto
TARGET_LDFLAGS += -flto


Loading…
Cancel
Save