Displaying 1 result from an estimated 1 matches for "oggenc_ldflag".
Did you mean:
oggenc_ldflags
2000 Nov 22
0
Static linking broken
...is, if you build ao, ogg, and vorbis statically and try to compile
oggenc or ogg123, you'll get unresolved symbol linker errors. This
happens on all POSIX architectures and compilers.
The solution is easy; use the automake "LIBS" macro instead of
"ogg123_LDFLAGS" and "oggenc_LDFLAGS" (this changes the order of where
flags are placed on the linker command line), and put the libraries in the
correct left-to-right order (it doesn't matter for dynamic linking, but it
does matter for static linking).
Can someone please fix this in CVS? Here's a diff against the CVS...