Commit 9a06f7b9 authored by Rafaël Carré's avatar Rafaël Carré

contrib: upnp: enable, fix win32/64 build

parent 1ac73b15
......@@ -2,6 +2,8 @@
UPNP_VERSION := 1.6.13
UPNP_URL := $(SF)/pupnp/libupnp-$(UPNP_VERSION).tar.bz2
PKGS += upnp
$(TARBALLS)/libupnp-$(UPNP_VERSION).tar.bz2:
$(call download,$(UPNP_URL))
......@@ -22,6 +24,9 @@ endif
$(MOVE)
.upnp: upnp
ifdef HAVE_WIN32
$(RECONF)
endif
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3 -DUPNP_STATIC_LIB $(LIBUPNP_ECFLAGS)" ./configure --disable-samples --without-documentation --disable-webserver $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment