From: root Date: Thu, 11 Nov 2010 07:56:10 +0000 (+0300) Subject: Makefile changes for x86_64 arch, thnx Steven Ayre and ptlib include path fix. X-Git-Tag: v1.2-rc1~265^2~11^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dca6dd4b05092a5564bba916b66a3f7b27e7dc;p=thirdparty%2Ffreeswitch.git Makefile changes for x86_64 arch, thnx Steven Ayre and ptlib include path fix. --- diff --git a/src/mod/endpoints/mod_h323/Makefile b/src/mod/endpoints/mod_h323/Makefile index 8287b34cad..57668ee8dd 100644 --- a/src/mod/endpoints/mod_h323/Makefile +++ b/src/mod/endpoints/mod_h323/Makefile @@ -1,7 +1,11 @@ BASE=../../../.. -LOCAL_CFLAGS+=-g -ggdb -I/usr/local/include/ptlib -I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions -LOCAL_LDFLAGS= -lopenh323 -lpt -lrt -include $(BASE)/build/modmake.rules +export PTLIBDIR = $(shell /usr/bin/ptlib-config --ptlibdir) +LOCAL_CFLAGS+=-g -I$PTLIBDIR -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions +LOCAL_LDFLAGS= -L/usr/lib -lopenh323 -lpt -lrt +ifeq ($(shell uname -m),x86_64) +LOCAL_CFLAGS+=-DP_64BIT +endif +include $(BASE)/build/modmake.rules