I am creating a static library that contains functionality I want to provide to some other applications. However, my static library requires libxml2.dylib and libsqlite3.0.dylib dynamic libraries. Now when I am compiling my static library, I got the error "libsqlite3.0.dylib is a dynamic library, not added to the static library" and "libz.dylib is a dynamic library, not added to the static library". Is there a way to add or link dynamic library to static library? Thanks..
Asked
Active
Viewed 64 times
0
-
possible duplicate of [How to fix "is a dynamic library, not added to the static library" warning?](http://stackoverflow.com/questions/22572610/how-to-fix-is-a-dynamic-library-not-added-to-the-static-library-warning) – Oliver Matthews May 19 '14 at 09:58
-
1Short version: You can't. – Oliver Matthews May 19 '14 at 09:59