mysql: ensure linking against libuClibc++, also install system table data sql file
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 27 Jan 2011 22:29:00 +0000 (22:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 27 Jan 2011 22:29:00 +0000 (22:29 +0000)
SVN-Revision: 25181

libs/mysql/Makefile

index 720609d2f2f2f10a68421610804f8a2b5fa78727..9f0d392504372de1b56a25ea253303d70ff61368 100644 (file)
@@ -56,6 +56,8 @@ define Package/libmysqlclient_r
   TITLE += threadsafe
 endef
 
+TARGET_CXX=g++-uc
+
 CONFIGURE_VARS += \
         CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++"  \
         CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
@@ -190,6 +192,7 @@ define Package/mysql-server/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/mysql/english/errmsg.sys $(1)/usr/share/mysql/english
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/mysql/fill_help_tables.sql $(1)/usr/share/mysql/
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/mysql/mysql_system_tables.sql $(1)/usr/share/mysql/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/mysql/mysql_system_tables_data.sql $(1)/usr/share/mysql/
 endef
 
 $(eval $(call BuildPackage,mysql-server))