diff --git a/codecs/Makefile b/codecs/Makefile index a09f67149e..d96e7cf57d 100644 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -54,5 +54,3 @@ $(LIBG722): @$(MAKE) -C g722 all $(if $(filter codec_g722,$(EMBEDDED_MODS)),modules.link,codec_g722.so): $(LIBG722) - -codec_resample.o: ASTCFLAGS+=-I$(ASTTOPDIR)/main/libresample/include diff --git a/codecs/codec_resample.c b/codecs/codec_resample.c index 66d60169d9..76641ce50d 100644 --- a/codecs/codec_resample.c +++ b/codecs/codec_resample.c @@ -39,8 +39,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/module.h" #include "asterisk/translate.h" - -#include "libresample.h" +#include "asterisk/libresample.h" #include "slin_resample_ex.h" diff --git a/include/asterisk/libresample.h b/include/asterisk/libresample.h new file mode 120000 index 0000000000..d71269da11 --- /dev/null +++ b/include/asterisk/libresample.h @@ -0,0 +1 @@ +../../main/libresample/include/libresample.h \ No newline at end of file