summaryrefslogtreecommitdiff
path: root/codecs/codec_resample.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-01-02 01:00:44 +0000
committerRussell Bryant <russell@russellbryant.com>2008-01-02 01:00:44 +0000
commit78f4b2855256c930adea77479e4577f4289a6cfa (patch)
treed9e7bf943c45a0e0aeba13bc434511804f43df90 /codecs/codec_resample.c
parente7f195e82ab286c925153ffcff1c9e6e66e2ede2 (diff)
Instead of linking libresample into the main Asterisk binary, build it as
res_resample, and mark codec_resample as dependent upon res_resample. This prevents the linker from optimizing away libresample, and also makes it so the libresample code isn't linked in to multiple places. (I have another module in a branch that needs it, too.) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/codec_resample.c')
-rw-r--r--codecs/codec_resample.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/codecs/codec_resample.c b/codecs/codec_resample.c
index 66d60169d..718ab88ae 100644
--- a/codecs/codec_resample.c
+++ b/codecs/codec_resample.c
@@ -24,6 +24,10 @@
* \ingroup codecs
*/
+/*** MODULEINFO
+ <depend>res_resample</depend>
+ ***/
+
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")