aboutsummaryrefslogtreecommitdiff
path: root/package/tcl
diff options
context:
space:
mode:
authorGravatar Vicente Olivert Riera <Vincent.Riera@imgtec.com>2016-03-30 17:14:09 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-30 19:28:54 +0200
commit6fdc1401f156044c08e2180079623210c3256088 (patch)
tree2ab56d8d13b9013417846edc3adb00940f76ef72 /package/tcl
parent36e711c85be980bdbac3499bdc0d2a1f063bf1f3 (diff)
downloadbuildroot-6fdc1401f156044c08e2180079623210c3256088.tar.gz
buildroot-6fdc1401f156044c08e2180079623210c3256088.tar.bz2
tcl: enable mysql support
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tcl')
-rw-r--r--package/tcl/tcl.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk
index 817630a044..8ac6644c11 100644
--- a/package/tcl/tcl.mk
+++ b/package/tcl/tcl.mk
@@ -34,7 +34,7 @@ HOST_TCL_PRE_CONFIGURE_HOOKS += HOST_TCL_REMOVE_PACKAGES
# We remove the bundled sqlite as we prefer to not use bundled stuff at all.
define TCL_REMOVE_PACKAGES
rm -fr $(@D)/pkgs/sqlite3* \
- $(@D)/pkgs/tdbcmysql* \
+ $(if $(BR2_PACKAGE_MYSQL),,$(@D)/pkgs/tdbcmysql*) \
$(@D)/pkgs/tdbcodbc* \
$(@D)/pkgs/tdbcpostgres* \
$(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/tdbcsqlite3*)
@@ -72,7 +72,8 @@ define TCL_REMOVE_EXTRA
endef
TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_EXTRA
-TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite)
+TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) \
+ $(if $(BR2_PACKAGE_MYSQL),mysql)
HOST_TCL_DEPENDENCIES =
$(eval $(autotools-package))