diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 5f9c731c21..54d1706f05 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -195,7 +195,9 @@ if [ "$HAVE_NETWORKING" = 'yes' ]; then HAVE_NETWORK_CMD=yes HAVE_NETWORKGAMEPAD=yes - if [ "$HAVE_BUILTINMINIUPNPC" != "yes" ]; then + if [ "$HAVE_BUILTINMINIUPNPC" = "yes" ]; then + HAVE_MINIUPNPC=yes + else check_lib '' MINIUPNPC "-lminiupnpc" fi else