Index: sqlite-autoconf-3110100/Makefile.am =================================================================== --- sqlite-autoconf-3110100.orig/Makefile.am +++ sqlite-autoconf-3110100/Makefile.am @@ -3,11 +3,11 @@ AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_ lib_LTLIBRARIES = libsqlite3.la libsqlite3_la_SOURCES = sqlite3.c -libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8 +libsqlite3_la_LDFLAGS = -lm -no-undefined -version-info 8:6:8 bin_PROGRAMS = sqlite3 sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h -sqlite3_LDADD = @READLINE_LIBS@ +sqlite3_LDADD = @READLINE_LIBS@ -lm sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@ sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS