Add libsqlite3.la dependency

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=151
This commit is contained in:
Ismail Dönmez 2016-03-07 17:59:37 +00:00 committed by Git OBS Bridge
parent 986bb445a7
commit 40b4c2f648

View File

@ -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