diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 54d1706f05..307e57aa76 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -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.'