From 7267bfbc9dd00b71175f119d8f2b86dd9d9270df Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Thu, 17 Nov 2011 01:04:14 +0100 Subject: [PATCH] FreeSWITCH: Remove -lcrypt from PLATFORM_CORE_LIBS on dawrin. crypt() is in libc on OS X, no external lib needed. Signed-off-by: Stefan Knoblich --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index fcd5d91cfb..c32c2232ed 100644 --- a/configure.in +++ b/configure.in @@ -420,7 +420,7 @@ case "$host" in if test "x$enable_core_odbc_support" != "xno"; then APR_ADDTO([PLATFORM_CORE_LDFLAGS], [--framework CoreFoundation]) fi - APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lcrypt -lrt]) + APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lrt]) ;; *darwin*) APR_ADDTO(SWITCH_AM_CFLAGS, -DMACOSX) @@ -428,7 +428,7 @@ case "$host" in if test "x$enable_core_odbc_support" != "xno"; then APR_ADDTO([PLATFORM_CORE_LDFLAGS], [--framework CoreFoundation]) fi - APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lcrypt -lrt]) + APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl -lrt]) ;; *-solaris2*) APR_ADDTO(SWITCH_AM_CFLAGS, -DPATH_MAX=2048 -D__EXTENSIONS__)