Bug #4652 - Require libstrfunc for FreeBSD. Thanks Corydon

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Malcolm Davenport
2005-07-08 21:54:07 +00:00
parent a913a5ce23
commit d36d51f732
2 changed files with 7 additions and 1 deletions

View File

@@ -235,7 +235,7 @@ LIBS+=-lresolv
CFLAGS+=-D__Darwin__
endif
ifeq (${OSARCH},FreeBSD)
LIBS+=-lcrypto
LIBS+=-lcrypto -lstrfunc
endif
ifeq (${OSARCH},NetBSD)
LIBS+=-lpthread -lcrypto -lm -L$(CROSS_COMPILE_TARGET)/usr/local/lib -L$(CROSS_COMPILE_TARGET)/usr/pkg/lib -lncurses

View File

@@ -31,6 +31,12 @@
#error "You need newer zaptel! Please cvs update zaptel"
#endif
#endif
#ifdef __FreeBSD__
#include <strfunc.h>
#ifndef __STRFUNC_H__
#error "Please install the strfunc library located in the ports collection at /usr/ports/devel/libstrfunc"
#endif
#endif
#include "asterisk.h"