Creating a shared library that statically includes ffmpeg
问题 I'm having hard time trying to create a shared library that has ffmpeg libraries "baked in" as static ones. Consider the following directory schema: include/ my own .h files ext/ ffmpeg .h files lib/ libav*.a archive files (softlinks to the actual .a files) libValkka.so (my shared library) test/ mytest.cpp bin/ (binaries appear here) I've come a long way (see Including objects to a shared library from a C++ archive (.a) ) and the library compiles ok with this: ([STUFF] has been omitted for