From eb9041cdb04a4bb2ada40d32de5c454a617ef3b0 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Wed, 19 Mar 2014 01:03:05 +0000 Subject: [PATCH] Separate out CFLAGS and CPPFLAGS in mod_h323 CPPFLAGS should contain -I and -D flags. This also has the effect of fixing the build of this module. --- src/mod/endpoints/mod_h323/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_h323/Makefile.am b/src/mod/endpoints/mod_h323/Makefile.am index 1d724943ea..41e18c4b16 100644 --- a/src/mod/endpoints/mod_h323/Makefile.am +++ b/src/mod/endpoints/mod_h323/Makefile.am @@ -5,7 +5,9 @@ PTLIBDIR = `/usr/bin/ptlib-config --ptlibdir` mod_LTLIBRARIES = mod_h323.la mod_h323_la_SOURCES = mod_h323.cpp -mod_h323_la_CFLAGS = $(AM_CFLAGS) -I$(PTLIBDIR) -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions +mod_h323_la_CFLAGS = $(AM_CFLAGS) -fno-exceptions +mod_h323_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(PTLIBDIR) -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT +mod_h323_la_CPPFLAGS += -DPTRACING=1 -D_REENTRANT mod_h323_la_LIBADD = $(switch_builddir)/libfreeswitch.la mod_h323_la_LDFLAGS = -avoid-version -module -no-undefined -shared -L/usr/lib -lopenh323 -lpt -lrt