diff --git a/libs/libupnp/Makefile b/libs/libupnp/Makefile index 441839836..f3ab296ea 100644 --- a/libs/libupnp/Makefile +++ b/libs/libupnp/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libupnp PKG_VERSION:=1.8.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/pupnp @@ -48,10 +48,27 @@ define Package/libupnp-sample/description TVcontrolpoint & tvdevice sample applications run inside /etc/upnp-tvdevice/ endef -TARGET_CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto -TARGET_LDFLAGS += -flto +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 -CONFIGURE_VARS += ac_cv_lib_compat_ftime=no +TARGET_CFLAGS += -flto +TARGET_LDFLAGS += -flto define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include