view src/mysql/config @ 2815:304bfc6faf07

move libmd test before libmd5, this fixes wrong linking with /usr/local/lib/libmd5.so from libwww package on FreeBSD. The library uses long's instead of int32_t's in MD5_CTX and on 64-bit platforms its MD5_CTX is bigger than defined in <md5.h>
author Igor Sysoev <igor@sysoev.ru>
date Thu, 07 May 2009 19:18:10 +0000
parents 7cbef16c71a1
children
line wrap: on
line source


ngx_addon_name=ngx_mysql

HTTP_MODULES="$HTTP_MODULES ngx_http_mysql_test_module"

HTTP_INCS="$HTTP_INCS $ngx_addon_dir"
HTTP_DEPS="$HTTP_DEPS $ngx_addon_dir/ngx_mysql.h"
#CORE_LIBS="$CORE_LIBS -lmd"

USE_SHA1=YES

NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_mysql.c"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_mysql_test.c"