forked from Mirrors/freeswitch
FS-6293: fix mod_codec2 srcdir build
This commit is contained in:
parent
6f34441b9f
commit
e63140a4d3
@ -3,7 +3,7 @@ AUTOMAKE_OPTS = gnu
|
||||
NAME = codec2
|
||||
AM_CPPFLAGS = $(AM_CFLAGS)
|
||||
|
||||
D=codebook
|
||||
D=$(abs_srcdir)/codebook
|
||||
|
||||
# lsp quantisers
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
AM_CFLAGS = -I../src -fPIC -g -DFLOATING_POINT -DVAR_ARRAYS -O2 -Wall
|
||||
AM_CFLAGS = -I../src -I$(abs_srcdir)/../src -fPIC -g -DFLOATING_POINT -DVAR_ARRAYS -O2 -Wall
|
||||
AUTOMAKE_OPTS = gnu
|
||||
NAME = libcodec2
|
||||
AM_CPPFLAGS = $(AM_CFLAGS)
|
||||
|
@ -7,7 +7,7 @@ CODEC2LA=$(CODEC2_BUILDDIR)/src/libcodec2.la
|
||||
|
||||
mod_LTLIBRARIES = mod_codec2.la
|
||||
mod_codec2_la_SOURCES = mod_codec2.c
|
||||
mod_codec2_la_CFLAGS = $(AM_CFLAGS) -I$(CODEC2_DIR)/include -I$(CODEC2_BUILDDIR)/src
|
||||
mod_codec2_la_CFLAGS = $(AM_CFLAGS) -I$(CODEC2_DIR)/include -I$(CODEC2_BUILDDIR)/src -I$(CODEC2_DIR)/src
|
||||
mod_codec2_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(CODEC2LA)
|
||||
mod_codec2_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user