libservicelog/libservicelog.sqlite-include.patch

28 lines
736 B
Diff

do not required sqlite, it is linked statically
---
servicelog-1/servicelog.h | 1 -
src/Makefile.am | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- a/servicelog-1/servicelog.h
+++ b/servicelog-1/servicelog.h
@@ -24,7 +24,6 @@
#include <stdint.h>
#include <time.h>
-#include <sqlite3.h>
#ifdef __cplusplus
extern "C" {
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,7 +27,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = servicelog-1.pc
libservicelog_la_LDFLAGS = -module -version-info \
- @GENERIC_API_VERSION@ -release @GENERIC_RELEASE@
+ @GENERIC_API_VERSION@ -release @GENERIC_RELEASE@ $(AM_LDFLAGS)
AM_CFLAGS = -Wall -g -DDEST_DIR='"${exec_prefix}"'
AM_LDFLAGS = -lsqlite3