diff options
Diffstat (limited to 'channels/misdn/Makefile')
-rw-r--r-- | channels/misdn/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/channels/misdn/Makefile b/channels/misdn/Makefile index b24159c6c..ba4a12926 100644 --- a/channels/misdn/Makefile +++ b/channels/misdn/Makefile @@ -13,6 +13,13 @@ SOURCES = isdn_lib.c isdn_msg_parser.c OBJDIR = . OBJS = isdn_lib.o isdn_msg_parser.o fac.o +ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libbnec.so),) +CFLAGS+=-DBEROEC_VERSION=1 +CFLAGS+=-DWITH_BEROEC +endif + + + all: chan_misdn_lib.a %.o: %.c |