How do I include the sqlite3 library "libsqlite3.0.dylib" in the application source file?

I am writing an application in C ++ / C / Object-C cocoa environment for OSX 10.6

For certain reasons, I cannot make changes to the make file so that I cannot link the libsqlite3.0.dylib library at build time.

In my source files, I have included. Since I can't link the library to the framework, I was wondering how to include the library as part of my source file, specifically how to include libsqlite3.0.dylib?

USR / Lib / libsqlite3.0.dylib

this is for MAX OSX 10.6

+2


source to share


1 answer


You cannot include an already compiled library in your source code and use it. You absolutely need the source codes in the source code.



However, you can include sqlite sources in your source code. In this tar file, the sqlite source code is in sqlite3.c.

0


source







All Articles