libnatpmp.a: add -DNATPMP_MAX_RETRIES=4
This commit is contained in:
parent
351b68fd94
commit
798b101910
|
@ -84,9 +84,9 @@ endif
|
||||||
|
|
||||||
libnatpmp.a: | sanity-checks
|
libnatpmp.a: | sanity-checks
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
+ $(MAKE) -C vendor/nim-nat-traversal/vendor/libnatpmp CC=gcc CFLAGS="-Wall -Os -DWIN32 -DNATPMP_STATICLIB -DENABLE_STRNATPMPERR" $@ $(HANDLE_OUTPUT)
|
+ $(MAKE) -C vendor/nim-nat-traversal/vendor/libnatpmp CC=gcc CFLAGS="-Wall -Os -DWIN32 -DNATPMP_STATICLIB -DENABLE_STRNATPMPERR -DNATPMP_MAX_RETRIES=4" $@ $(HANDLE_OUTPUT)
|
||||||
else
|
else
|
||||||
+ $(MAKE) -C vendor/nim-nat-traversal/vendor/libnatpmp $@ $(HANDLE_OUTPUT)
|
+ $(MAKE) CFLAGS="-Wall -Os -DENABLE_STRNATPMPERR -DNATPMP_MAX_RETRIES=4" -C vendor/nim-nat-traversal/vendor/libnatpmp $@ $(HANDLE_OUTPUT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#- depends on Git submodules being initialised
|
#- depends on Git submodules being initialised
|
||||||
|
|
Loading…
Reference in New Issue