summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorscop <scop@e10066b5-e1e2-0310-b819-94efdf66514b>2008-01-01 14:37:30 +0000
committerscop <scop@e10066b5-e1e2-0310-b819-94efdf66514b>2008-01-01 14:37:30 +0000
commita074c85806072a4401433313396edf1925c47366 (patch)
tree449aa0ff771f1d1d72879b05b00b71cd762d4a93 /Makefile
parent279c81f8ea01462b215ccbdabfdefcb476a15687 (diff)
downloadvdr-plugin-muggle-a074c85806072a4401433313396edf1925c47366.tar.gz
vdr-plugin-muggle-a074c85806072a4401433313396edf1925c47366.tar.bz2
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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