From 2d79579adf92fbe53a1b5c148348bed7e5ba21d3 Mon Sep 17 00:00:00 2001 From: Schischu Date: Mon, 18 Jun 2012 21:13:01 +0200 Subject: Allow compiling without mysql dependency (--disable-mysql). MySQL is heavy and sqlite is the better choice on embedded devices. Disables also build of cmyth as it depends on mysql. --- Makefile.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 9494584b3b..9ffae7e047 100755 --- a/Makefile.in +++ b/Makefile.in @@ -141,13 +141,16 @@ endif LIB_DIRS=\ lib/cximage-6.0 \ lib/libexif \ - lib/cmyth \ lib/libhdhomerun \ lib/libid3tag \ lib/libapetag \ lib/cpluff \ lib/xbmc-dll-symbols +ifeq (@USE_MYSQL@,1) +LIB_DIRS += lib/cmyth +endif + SS_DIRS= ifneq (@DISABLE_RSXS@,1) SS_DIRS+= xbmc/screensavers/rsxs-0.9/xbmc @@ -317,7 +320,12 @@ imagelib: dllloader $(MAKE) -C lib/cximage-6.0 codecs: papcodecs dvdpcodecs -libs: cmyth libhdhomerun libid3tag imagelib libexif system/libcpluff-@ARCH@.so + +libs: libhdhomerun libid3tag imagelib libexif system/libcpluff-@ARCH@.so +ifeq (@USE_MYSQL@,1) +libs += cmyth +endif + externals: codecs libs visualizations screensavers xcode_depends: \ -- cgit v1.2.3