qb: Disable all miniupnpc support with --disable-miniupnpc.

This commit is contained in:
orbea 2017-12-26 02:06:47 -08:00
parent ca062cbe38
commit c63011db71

View File

@ -195,10 +195,12 @@ if [ "$HAVE_NETWORKING" = 'yes' ]; then
HAVE_NETWORK_CMD=yes
HAVE_NETWORKGAMEPAD=yes
if [ "$HAVE_BUILTINMINIUPNPC" = "yes" ]; then
if [ "$HAVE_MINIUPNPC" = 'no' ]; then
HAVE_BUILTINMINIUPNPC=no
elif [ "$HAVE_BUILTINMINIUPNPC" = 'yes' ]; then
HAVE_MINIUPNPC=yes
else
check_lib '' MINIUPNPC "-lminiupnpc"
check_lib '' MINIUPNPC '-lminiupnpc'
fi
else
die : 'Warning: All networking features have been disabled.'