diff options
author | Schischu <schischu@duckbox> | 2012-06-18 21:13:01 +0200 |
---|---|---|
committer | Cory Fields <theuni-nospam-@xbmc.org> | 2012-07-10 22:47:32 -0400 |
commit | 2d79579adf92fbe53a1b5c148348bed7e5ba21d3 (patch) | |
tree | 643b706bd6c647e343353d8357b32457f4ad7470 /Makefile.in | |
parent | e7240d7c80636135419338034ad60224ed453bde (diff) |
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.
Diffstat (limited to 'Makefile.in')
-rwxr-xr-x | Makefile.in | 12 |
1 files changed, 10 insertions, 2 deletions
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: \ |