From a074c85806072a4401433313396edf1925c47366 Mon Sep 17 00:00:00 2001 From: scop Date: Tue, 1 Jan 2008 14:37:30 +0000 Subject: Use pkg-config to find SQLite includes and libs. git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@982 e10066b5-e1e2-0310-b819-94efdf66514b --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ea8a4a..f0dcd9c 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,8 @@ PLAYLIBS = -lmad $(shell taglib-config --libs) MILIBS = $(shell taglib-config --libs) ifdef HAVE_SQLITE -SQLLIBS += -lsqlite3 +INCLUDES += $(shell pkg-config --cflags sqlite3) +SQLLIBS += $(shell pkg-config --libs sqlite3) DB_OBJ = mg_db_gd_sqlite.o DEFINES += -DHAVE_SQLITE endif -- cgit v1.2.3