diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2017-04-17 14:42:12 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2017-04-17 14:42:12 +0300 |
commit | 97210c717d3740450a6d6cf892efc881e25d90dd (patch) | |
tree | 2ab7b3cf64f9decb4f94f1970305488969ce7c77 /auto | |
parent | 8ee2de5e9c930273c99a03452e7336f8a393ec42 (diff) |
Enabled IPV6_RECVPKTINFO / IPV6_PKTINFO on macOS.
This change allows setting the destination IPv6 address of a UDP datagram
received on a wildcard socket.
Diffstat (limited to 'auto')
-rw-r--r-- | auto/os/darwin | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auto/os/darwin b/auto/os/darwin index b4b3ad306..429468f7f 100644 --- a/auto/os/darwin +++ b/auto/os/darwin @@ -17,6 +17,9 @@ ngx_spacer=' MAIN_LINK= MODULE_LINK="-shared -Wl,-undefined,dynamic_lookup" +CC_AUX_FLAGS="$CC_AUX_FLAGS -D__APPLE_USE_RFC_3542" + + # kqueue echo " + kqueue found" @@ -86,7 +89,6 @@ ngx_feature_test="int kq; # sendfile() -CC_AUX_FLAGS="$CC_AUX_FLAGS" ngx_feature="sendfile()" ngx_feature_name="NGX_HAVE_SENDFILE" ngx_feature_run=yes |