Compile cleanly on FreeBSD

Compile cleanly on FreeBSD

FreeBSD 10.1 (tested version) needs the lber during linking.
main
sonnius 10 years ago
parent a8b5948e0e
commit dab16a5f62
  1. 2
      config

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

Loading…
Cancel
Save