Re: Sources for Mac OS X
- Posted by jeremy (admin) Jun 30, 2009
- 974 views
It should read files from the standard paths, if it's located in a standard path. However, on OS X, the shared library file extension is .dylib, not .dll or .so. Version 4's version of open_dll allows you to do this to help deal with these issues:
constant hDll = open_dll({ "sqlite3.dll", "sqlite3.so", "sqlite3.dylib" })
You can list as many possible file names as possible. The first one to load correctly is used and the handle of that file is returned.
Jeremy