Compile cleanly on FreeBSD

Compile cleanly on FreeBSD

FreeBSD 10.1 (tested version) needs the lber during linking.
This commit is contained in:
sonnius
2015-04-30 15:23:48 +12:00
parent a8b5948e0e
commit dab16a5f62
+1 -1
View File
@@ -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
Linux:*|SunOS:*)
FreeBSD:*|Linux:*|SunOS:*)
CORE_LIBS="$CORE_LIBS -llber"
;;
esac