[packages] mysql: ensure linking against libuClibc++, also install system table data sql file
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25181 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
78abc8a578
commit
1f9e1e9ca6
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user