Updatesqlite-fts5-link.patch

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=149
This commit is contained in:
Ismail Dönmez 2016-03-07 16:41:22 +00:00 committed by Git OBS Bridge
parent e04d3b1cc9
commit 91edd35a74

View File

@ -2,7 +2,12 @@ Index: sqlite-autoconf-3110100/Makefile.am
===================================================================
--- sqlite-autoconf-3110100.orig/Makefile.am
+++ sqlite-autoconf-3110100/Makefile.am
@@ -7,7 +7,7 @@ libsqlite3_la_LDFLAGS = -no-undefined -v
@@ -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
@ -11,15 +16,3 @@ Index: sqlite-autoconf-3110100/Makefile.am
sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@
sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS
Index: sqlite-autoconf-3110100/sqlite3.pc.in
===================================================================
--- sqlite-autoconf-3110100.orig/sqlite3.pc.in
+++ sqlite-autoconf-3110100/sqlite3.pc.in
@@ -8,6 +8,6 @@ includedir=@includedir@
Name: SQLite
Description: SQL database engine
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lsqlite3
+Libs: -L${libdir} -lsqlite3 -lm
Libs.private: @LIBS@
Cflags: -I${includedir}