mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
don't link to installed libs, patch from stkn (fix for MODLANG-47)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6480 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -179,8 +179,10 @@ AC_CACHE_CHECK([whether to build with NSPR], [ac_cv_with_nspr], [ac_cv_with_nspr
|
||||
if test ".$ac_cv_with_nspr" = ".yes"; then
|
||||
sinclude(nsprpub/config/nspr.m4)
|
||||
CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE=1 -Insprpub/dist/include/nspr -Insprpub/pr/include"
|
||||
LDFLAGS="$LDFLAGS -L$prefix/lib -L./nsprpub/dist/lib -lnspr4"
|
||||
LDFLAGS="$LDFLAGS -L./nsprpub/dist/lib"
|
||||
LIBS="$LIBS -lnspr4"
|
||||
LIBPATH="LD_LIBRARY_PATH=./nsprpub/dist/lib DYLD_LIBRARY_PATH=./nsprpub/dist/lib"
|
||||
AC_CHECK_LIB(pthread, pthread_create, [CLI_LIBS="$CLI_LIBS -lpthread"])
|
||||
fi
|
||||
|
||||
AC_DEFUN([AX_COMPILER_VENDOR],
|
||||
|
@@ -1125,7 +1125,7 @@ tools are selected during the Xcode/Developer Tools installation.])
|
||||
AC_DEFINE(FREEBSD)
|
||||
AC_DEFINE(HAVE_BSD_FLOCK)
|
||||
AC_DEFINE(HAVE_SOCKLEN_T)
|
||||
CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
|
||||
CFLAGS="$CFLAGS -ansi -Wall"
|
||||
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
|
||||
if test "$MOZ_OBJFORMAT" = "elf"; then
|
||||
DLL_SUFFIX=so
|
||||
@@ -1137,7 +1137,7 @@ tools are selected during the Xcode/Developer Tools installation.])
|
||||
DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
|
||||
MDCPUCFG_H=_freebsd.cfg
|
||||
PR_MD_CSRCS=freebsd.c
|
||||
;;
|
||||
;;
|
||||
|
||||
*-hpux*)
|
||||
AC_DEFINE(XP_UNIX)
|
||||
|
Reference in New Issue
Block a user