From 91edd35a74853cf05a4e7b4652e63dba02bf226d74ccd23a6adedca2c8e6ff7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 7 Mar 2016 16:41:22 +0000 Subject: [PATCH] Updatesqlite-fts5-link.patch OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=149 --- sqlite-fts5-link.patch | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/sqlite-fts5-link.patch b/sqlite-fts5-link.patch index 3513024..14b661c 100644 --- a/sqlite-fts5-link.patch +++ b/sqlite-fts5-link.patch @@ -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}