diff --git a/src/mod/codecs/mod_g723_1/Makefile b/src/mod/codecs/mod_g723_1/Makefile index 2097d097b7..9914e1b5a8 100644 --- a/src/mod/codecs/mod_g723_1/Makefile +++ b/src/mod/codecs/mod_g723_1/Makefile @@ -1,6 +1,6 @@ BASE=../../../.. -DIR=$(switch_srcdir)/libs/libg723_1 -BUILDDIR=$(switch_bulddir)/libs/libg723_1 +DIR=$(BASE)/libs/libg723_1 +BUILDDIR=$(BASE)/libs/libg723_1 A=$(BUILDDIR)/.libs/libg723.a LOCAL_INSERT_CFLAGS=if test -f $(A); then echo "-I$(DIR)/src/include" ; else echo "-DG723_PASSTHROUGH" ; fi ; diff --git a/src/mod/codecs/mod_g729/Makefile b/src/mod/codecs/mod_g729/Makefile index 3e2a31a355..ff8d7678c8 100644 --- a/src/mod/codecs/mod_g729/Makefile +++ b/src/mod/codecs/mod_g729/Makefile @@ -1,7 +1,7 @@ BASE=../../../.. -DIR=$(switch_srcdir)/libs/libg729 -BUILDDIR=$(switch_builddir)/libs/libg729 +DIR=$(BASE)/libs/libg729 +BUILDDIR=$(BASE)/libs/libg729 A=$(BUILDDIR)/.libs/libg729.a LOCAL_INSERT_CFLAGS=if test -f $(A); then echo "-I$(DIR)/src/include" ; else echo "-DG729_PASSTHROUGH" ; fi ;