makefile: Add support for building with Ethernet TAP on modern macOS versions
This commit is contained in:
parent
4a56d8703c
commit
da602f5f77
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
@ -849,7 +849,7 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
||||||
NETWORK_CCDEFS += -DUSE_NETWORK
|
NETWORK_CCDEFS += -DUSE_NETWORK
|
||||||
endif
|
endif
|
||||||
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)
|
# Provide support for Tap networking on BSD platforms (including OS X)
|
||||||
NETWORK_CCDEFS += -DHAVE_TAP_NETWORK -DHAVE_BSDTUNTAP
|
NETWORK_CCDEFS += -DHAVE_TAP_NETWORK -DHAVE_BSDTUNTAP
|
||||||
NETWORK_LAN_FEATURES += TAP
|
NETWORK_LAN_FEATURES += TAP
|
||||||
|
|
Loading…
Add table
Reference in a new issue