diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak index c6800bbfd87447b904b95f62008cb22d2f85e843..378a4f975c26e5c4e0aeca95ee5ed45391f00830 100644 --- a/contrib/src/upnp/rules.mak +++ b/contrib/src/upnp/rules.mak @@ -30,6 +30,7 @@ ifdef HAVE_WIN32 $(RECONF) cd $< && $(HOSTVARS) CFLAGS="-DUPNP_STATIC_LIB" ./configure --disable-samples --without-documentation --disable-blocking_tcp_connections $(HOSTCONF) else + $(RECONF) cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DUPNP_STATIC_LIB" ./configure --disable-samples --without-documentation --disable-blocking_tcp_connections $(HOSTCONF) endif cd $< && $(MAKE) install