Bug #4652 - Require libstrfunc for FreeBSD. Thanks Corydon

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Malcolm Davenport 21 years ago
parent a913a5ce23
commit d36d51f732

@ -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

@ -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"

Loading…
Cancel
Save