From dab16a5f6295a503bf816ab48e02369f21294f1f Mon Sep 17 00:00:00 2001 From: sonnius Date: Thu, 30 Apr 2015 15:23:48 +1200 Subject: [PATCH] Compile cleanly on FreeBSD Compile cleanly on FreeBSD FreeBSD 10.1 (tested version) needs the lber during linking. --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index f357c67..7931d74 100644 --- a/config +++ b/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" case "$NGX_PLATFORM" in - Linux:*|SunOS:*) + FreeBSD:*|Linux:*|SunOS:*) CORE_LIBS="$CORE_LIBS -llber" ;; esac