Displaying 1 result from an estimated 1 matches for "codec_speex_la_ldflags".
2008 Jan 04
1
PIC issues... Linking statically to speex when generating a shared library..
...n the plugin's Makefile.am --
which intermingles PIC code (the non-library source in the new shared
library) and position dependent code (libspeex.a):
codec_speex_la_SOURCES = PlgSpeex.c speex_nb.c speex_uwb.c speex_wb.c
codec_speex_la_LIBADD = @SPEEX_ROOT@/libspeex/.libs/libspeex.a
codec_speex_la_LDFLAGS = -module -avoid-version
(which, I just spotted, will not be correct for installed versions of speex
-- only ones we build -- since installed versions will not have the .a in a
.lib directory -- but in any case, it should illustrate things well enough)
This generates the warning from libtool:...