ebuckley / cr-sqlite-go

A simple golang library that exposes the cr-sqlite extension for sqlite
5 stars 2 forks source link

look for shared lib from runtime file location by default #2

Open gedw99 opened 3 months ago

gedw99 commented 3 months ago

This allows the system to run on all OS more easily.

The make file automates getting the os dependent shared lib.

The service.go was monied to load up the correct lib based on the OS and ARCH and the location that the share libs is placed by the Make file.

I tested this on a Mac arm64 M2 and it worked.