47929d486d
Needed to fix unresolvable on the gammu OBS-URL: https://build.opensuse.org/request/show/198645 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdbi-drivers?expand=0&rev=12
26 lines
784 B
Diff
26 lines
784 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2013-09-04 12:52:32.851115468 +0200
|
|
|
|
build: resolve link failure in sqlite3 module
|
|
|
|
The sqlite3 backend fails to link because the wrong library name is
|
|
used. (Ideally, libdbi-drivers should use PKG_CHECK_MODULES instead.)
|
|
|
|
---
|
|
acinclude.m4 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: libdbi-drivers-0.9.0/acinclude.m4
|
|
===================================================================
|
|
--- libdbi-drivers-0.9.0.orig/acinclude.m4
|
|
+++ libdbi-drivers-0.9.0/acinclude.m4
|
|
@@ -310,7 +310,7 @@ if test "$ac_sqlite3" = "yes"; then
|
|
AC_SEARCH_LIBS_VAR([sqlite3_exec], sqlite3, , , , SQLITE3_LIBS)
|
|
SQLITE3_LDFLAGS=""
|
|
else
|
|
- SQLITE3_LIBS=-lsqlite
|
|
+ SQLITE3_LIBS=-lsqlite3
|
|
SQLITE3_LDFLAGS=-L$ac_sqlite3_libdir
|
|
fi
|
|
|