diff --git a/Makefile.am b/Makefile.am index ec182b3ea8..a6aa32de2a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -149,7 +149,7 @@ endif if ENABLE_ZRTP CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/third_party/bgaes CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/third_party/bnlib -CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/include +CORE_CFLAGS += -isystem $(switch_srcdir)/libs/libzrtp/include libfreeswitch_la_LDFLAGS += -Llibs/libzrtp/third_party/bnlib -lbn -Llibs/libzrtp/projects/gnu/build -lzrtp CORE_LIBS += libs/libzrtp/projects/gnu/build/libzrtp.a endif