SQLiteLib icon indicating copy to clipboard operation
SQLiteLib copied to clipboard

Support for removing compilation options

Open michaelmedellin opened this issue 1 year ago • 1 comments

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.

michaelmedellin avatar Jul 20 '24 13:07 michaelmedellin

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?

groue avatar Aug 28 '24 06:08 groue

@groue super late on the reply. apologies.

It looks like the compilation option for omit_load_extension was removed in #64. I'll close this issue. Thank you for making that change.

michaelmedellin avatar Mar 27 '25 15:03 michaelmedellin