From 453017088677fdd32e25f72355a41538e03d5900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= Date: Thu, 16 Jan 2014 19:30:21 +0100 Subject: [PATCH] Fixed compilation on Solaris --- config | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config b/config index b3b71d9..79ffdbe 100644 --- a/config +++ b/config @@ -1,5 +1,14 @@ ngx_addon_name=ngx_http_auth_ldap_module HTTP_MODULES="$HTTP_MODULES ngx_http_auth_ldap_module" NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_ldap_module.c" + CORE_LIBS="$CORE_LIBS -lldap" + +case "$NGX_PLATFORM" in + SunOS:*) + CORE_LIBS="$CORE_LIBS -llber" + ;; +esac + +CFLAGS="$CFLAGS" CFLAGS="$CFLAGS"