darwin requires lber
@ -5,7 +5,7 @@ NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_ldap_module.c"
CORE_LIBS="$CORE_LIBS -lldap"
case "$NGX_PLATFORM" in
FreeBSD:*|Linux:*|SunOS:*)
Darwin:*|FreeBSD:*|Linux:*|SunOS:*)
CORE_LIBS="$CORE_LIBS -llber"
;;
esac