From da602f5f77c59e650c26117e9ac19f77206694d2 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 24 Jul 2020 18:40:54 -0700 Subject: [PATCH] makefile: Add support for building with Ethernet TAP on modern macOS versions --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 2854d45b..0410a487 100644 --- a/makefile +++ b/makefile @@ -849,7 +849,7 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin) NETWORK_CCDEFS += -DUSE_NETWORK endif endif - ifeq (bsdtuntap,$(shell if ${TEST} -e /usr/include/net/if_tun.h -o -e /Library/Extensions/tap.kext; then echo bsdtuntap; fi)) + ifeq (bsdtuntap,$(shell if ${TEST} -e /usr/include/net/if_tun.h -o -e /Library/Extensions/tap.kext -o -e /Applications/Tunnelblick.app/Contents/Resources/tap-notarized.kext; then echo bsdtuntap; fi)) # Provide support for Tap networking on BSD platforms (including OS X) NETWORK_CCDEFS += -DHAVE_TAP_NETWORK -DHAVE_BSDTUNTAP NETWORK_LAN_FEATURES += TAP