Make the normal sqlite3 API externally visible (until we switch to tdbc...) --- vendor/tcl/pkgs/sqlite3.44.2/Makefile.in.orig 2024-03-01 00:32:11 +++ vendor/tcl/pkgs/sqlite3.44.2/Makefile.in 2024-03-01 00:26:48 @@ -155,7 +155,7 @@ INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ -I. -I$(srcdir)/.. #INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@ -PKG_CFLAGS = @PKG_CFLAGS@ -DSQLITE_EXTERN= +PKG_CFLAGS = @PKG_CFLAGS@ # TCL_DEFS is not strictly need here, but if you remove it, then you # must make sure that configure.ac checks for the necessary components --- vendor/tcl/pkgs/sqlite3.44.2/configure.orig 2024-03-01 00:31:18 +++ vendor/tcl/pkgs/sqlite3.44.2/configure 2024-03-01 00:26:48 @@ -5671,7 +5671,7 @@ else - PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_API=MODULE_SCOPE" + PKG_CFLAGS="$PKG_CFLAGS" fi @@ -7598,7 +7598,7 @@ fi # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS - SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}' + SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -install_name $(pkglibdir)/$(PKG_LIB_FILE)' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 printf %s "checking if ld accepts -single_module flag... " >&6; } if test ${tcl_cv_ld_single_module+y}