mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 05:38:11 +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__
|
CFLAGS+=-D__Darwin__
|
||||||
endif
|
endif
|
||||||
ifeq (${OSARCH},FreeBSD)
|
ifeq (${OSARCH},FreeBSD)
|
||||||
LIBS+=-lcrypto
|
LIBS+=-lcrypto -lstrfunc
|
||||||
endif
|
endif
|
||||||
ifeq (${OSARCH},NetBSD)
|
ifeq (${OSARCH},NetBSD)
|
||||||
LIBS+=-lpthread -lcrypto -lm -L$(CROSS_COMPILE_TARGET)/usr/local/lib -L$(CROSS_COMPILE_TARGET)/usr/pkg/lib -lncurses
|
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"
|
#error "You need newer zaptel! Please cvs update zaptel"
|
||||||
#endif
|
#endif
|
||||||
#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"
|
#include "asterisk.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user