diff options
-rwxr-xr-x | Makefile | 2 | ||||
-rwxr-xr-x | channel.c | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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" |