Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c

Every OS uses strcompat now - this was done on purpose.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2006-09-15 17:16:00 +00:00
parent e421b69ce6
commit f18cbf77df
11 changed files with 312 additions and 300 deletions

View File

@@ -25,7 +25,8 @@ OBJS= io.o sched.o logger.o frame.o loader.o config.o channel.o \
astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o \
utils.o plc.o jitterbuf.o dnsmgr.o devicestate.o \
netsock.o slinfactory.o ast_expr2.o ast_expr2f.o \
cryptostub.o sha1.o http.o fixedjitterbuf.o abstract_jb.o
cryptostub.o sha1.o http.o fixedjitterbuf.o abstract_jb.o \
strcompat.o
# we need to link in the objects statically, not as a library, because
# otherwise modules will not have them available if none of the static
@@ -89,7 +90,6 @@ endif
ifeq ($(OSARCH),SunOS)
AST_LIBS+=-lpthread -ldl -lnsl -lsocket -lresolv -L/opt/ssl/lib -L/usr/local/ssl/lib
OBJS+=strcompat.o
ASTLINK=
endif