Browse Source

contrib: upnp: unify `CONFIGURE_ARGS`

(cherry picked from commit cb610b5bfa)
pull/135/head
Alaric Senat 5 years ago
committed by Steve Lhomme
parent
commit
a9bfd4e588
  1. 4
      contrib/src/upnp/rules.mak

4
contrib/src/upnp/rules.mak

@ -16,7 +16,7 @@ $(TARBALLS)/pupnp-release-$(UPNP_VERSION).tar.gz:
UPNP_CFLAGS := $(CFLAGS) -DUPNP_STATIC_LIB
UPNP_CXXFLAGS := $(CXXFLAGS) -DUPNP_STATIC_LIB
CONFIGURE_ARGS := --disable-samples
CONFIGURE_ARGS := --disable-samples --without-documentation
ifdef HAVE_WIN32
DEPS_upnp += pthreads $(DEPS_pthreads)
@ -54,6 +54,6 @@ endif
.upnp: upnp
$(RECONF)
cd $< && $(HOSTVARS) CFLAGS="$(UPNP_CFLAGS)" CXXFLAGS="$(UPNP_CXXFLAGS)" ./configure --disable-samples --without-documentation $(CONFIGURE_ARGS) $(HOSTCONF)
cd $< && $(HOSTVARS) CFLAGS="$(UPNP_CFLAGS)" CXXFLAGS="$(UPNP_CXXFLAGS)" ./configure $(CONFIGURE_ARGS) $(HOSTCONF)
cd $< && $(MAKE) install
touch $@

Loading…
Cancel
Save