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
This commit is contained in:
Russell Bryant
2008-01-02 01:00:44 +00:00
parent e7f195e82a
commit 78f4b28552
26 changed files with 53 additions and 9 deletions

View File

@@ -24,6 +24,10 @@
* \ingroup codecs
*/
/*** MODULEINFO
<depend>res_resample</depend>
***/
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")