mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-23 21:19:09 +00:00
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:
2
Makefile
2
Makefile
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user