diff --git a/sqlite3http-ext/Makefile b/sqlite3http-ext/Makefile index c859aae..f63ea8c 100644 --- a/sqlite3http-ext/Makefile +++ b/sqlite3http-ext/Makefile @@ -1,10 +1,13 @@ httpvfs.so: sqlite3http_ext.c sqlite3http_ext.a gcc -g -fPIC -shared -o $@ $^ +httpvfs.dylib: sqlite3http_ext.c sqlite3http_ext.a + gcc -framework CoreServices -framework Security -dynamiclib -o $@ $^ + sqlite3http_ext.a: sqlite3http_ext.go go build -tags SQLITE3VFS_LOADABLE_EXT -o $@ -buildmode=c-archive $^ rm -f sqlite3http_ext.h .PHONY: clean clean: - rm -f sqlite3http_ext.a httpvfs.so + rm -f sqlite3http_ext.a httpvfs.so httpvfs.dylib