gsmopen: not compiling with gsmlib by default right now, will be default soon

This commit is contained in:
Giovanni Maruzzelli 2012-04-18 15:41:08 +02:00
parent e08c027dbe
commit b20558818c
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
MODNAME=mod_gsmopen
SVNDEF := -D'GSMOPEN_SVN_VERSION="$(shell svnversion -n .)"'
LOCAL_CFLAGS += $(SVNDEF) -I../../../../libs/spandsp/src -I../../../..//libs/tiff-3.8.2/libtiff
LOCAL_LDFLAGS=-L../../../../libs/spandsp/src -lspandsp -lctb-0.16 -lgsmme
LOCAL_LDFLAGS=-L../../../../libs/spandsp/src -lspandsp -lctb-0.16 #-lgsmme
LOCAL_OBJS=gsmopen_protocol.o
include ../../../../build/modmake.rules

View File

@ -13,7 +13,7 @@ mod_LTLIBRARIES = mod_gsmopen.la
mod_gsmopen_la_SOURCES = mod_gsmopen.cpp gsmopen_protocol.cpp
mod_gsmopen_la_CFLAGS = $(AM_CFLAGS) -I$(SPANDSP_DIR)/src -I$(TIFF_DIR)/libtiff -I$(SPANDSP_BUILDDIR)/src -I$(TIFF_BUILDDIR)/libtiff -I. -DGSMOPEN_SVN_VERSION=\"`cat $(switch_builddir)/.version`\"
mod_gsmopen_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(SPANDSP_LA) $(TIFF_LA)
mod_gsmopen_la_LDFLAGS = -avoid-version -module -no-undefined -lctb-0.16
mod_gsmopen_la_LDFLAGS = -avoid-version -module -no-undefined -lctb-0.16 #-lgsmme
$(SPANDSP_LA): $(TIFF_LA) $(SPANDSP_DIR) $(SPANDSP_DIR)/.update
cd $(SPANDSP_BUILDDIR) && $(MAKE) -j1

View File

@ -1,6 +1,6 @@
#include "gsmopen.h"
#define WANT_GSMLIB
#undef WANT_GSMLIB
#ifdef WANT_GSMLIB
#include <gsmlib/gsm_sms.h>