diff --git a/codecs/Makefile b/codecs/Makefile index a09f67149e555d34b8ca49d1581ea21f7ce3d5ed..d96e7cf57defc3bee5cd8c38cef7d7b3af6d261d 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 66d60169d93be3bff34458f0c73c44c45b973080..76641ce50d04c43659e880e3cbfa9f4644156bac 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 0000000000000000000000000000000000000000..d71269da113589f0896af927828011864a8b34a7 --- /dev/null +++ b/include/asterisk/libresample.h @@ -0,0 +1 @@ +../../main/libresample/include/libresample.h \ No newline at end of file