You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.1 KiB

  1. From de625c51dba36b390c93a1db00b19b6112178764 Mon Sep 17 00:00:00 2001
  2. From: Moritz Warning <moritzwarning@web.de>
  3. Date: Sat, 21 Nov 2020 17:53:28 +0100
  4. Subject: [PATCH 5/8] link natpmp
  5. ---
  6. make-linux.mk | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. --- a/make-linux.mk
  9. +++ b/make-linux.mk
  10. @@ -34,7 +34,7 @@ else
  11. override DEFS+=-DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING=\"Linux\" -DMINIUPNPC_VERSION_STRING=\"2.0\" -DUPNP_VERSION_STRING=\"UPnP/1.1\" -DENABLE_STRNATPMPERR
  12. ONE_OBJS+=ext/miniupnpc/connecthostport.o ext/miniupnpc/igd_desc_parse.o ext/miniupnpc/minisoap.o ext/miniupnpc/minissdpc.o ext/miniupnpc/miniupnpc.o ext/miniupnpc/miniwget.o ext/miniupnpc/minixml.o ext/miniupnpc/portlistingparse.o ext/miniupnpc/receivedata.o ext/miniupnpc/upnpcommands.o ext/miniupnpc/upnpdev.o ext/miniupnpc/upnperrors.o ext/miniupnpc/upnpreplyparse.o
  13. endif
  14. -ifeq ($(wildcard /usr/include/natpmp.h),)
  15. +ifeq ($(wildcard $(STAGING_DIR)/usr/include/natpmp.h),)
  16. ONE_OBJS+=ext/libnatpmp/natpmp.o ext/libnatpmp/getgateway.o
  17. else
  18. LDLIBS+=-lnatpmp