swiftlyfalling / SQLiteLib

Easily build a custom SQLite static library for use in macOS and iOS frameworks and apps.
MIT License
64 stars 23 forks source link

Support for removing compilation options #61

Open michaelmedellin opened 1 month ago

michaelmedellin commented 1 month ago

Hi, curious as to the project's point of view on removing certain compilation options via the user configuration? For example, I would like to remove -DSQLITE_OMIT_LOAD_EXTENSION from the compilation configuration and would need to edit SQLiteLib.xcconfig directly to do that AFAIK.

groue commented 2 weeks ago

Thanks for opening this issue, @michaelmedellin.

Do you know what it takes for users who need to actually load extensions?

If they need to fork this repo anyway, they can remove SQLITE_OMIT_LOAD_EXTENSION in their fork.

But if there exist technique(s) that make it possible to load extensions without forking this repo, I'd gladly remove SQLITE_OMIT_LOAD_EXTENSION here. Do you know any?