From 40b4c2f6484c331256674b46af4629c3c93b0fd74ae9188957d689a9637a1336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 7 Mar 2016 17:59:37 +0000 Subject: [PATCH] Add libsqlite3.la dependency OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=151 --- sqlite3-link-binary-with-libsqlite3.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sqlite3-link-binary-with-libsqlite3.patch b/sqlite3-link-binary-with-libsqlite3.patch index e256fa6..444bde8 100644 --- a/sqlite3-link-binary-with-libsqlite3.patch +++ b/sqlite3-link-binary-with-libsqlite3.patch @@ -2,14 +2,16 @@ Index: sqlite-autoconf-3110100/Makefile.am =================================================================== --- sqlite-autoconf-3110100.orig/Makefile.am +++ sqlite-autoconf-3110100/Makefile.am -@@ -7,8 +7,8 @@ libsqlite3_la_LIBADD = -lm +@@ -6,9 +6,9 @@ libsqlite3_la_SOURCES = sqlite3.c libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8 bin_PROGRAMS = sqlite3 -sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h -sqlite3_LDADD = @READLINE_LIBS@ +-sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@ +sqlite3_SOURCES = shell.c sqlite3.h +sqlite3_LDADD = libsqlite3.la @READLINE_LIBS@ - sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@ ++sqlite3_DEPENDENCIES = libsqlite3.la @EXTRA_SHELL_OBJ@ sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS + include_HEADERS = sqlite3.h sqlite3ext.h