install a missing header (mysqld_error.h) required to build the MySQL-Python module.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9044 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2007-09-27 02:22:08 +00:00
parent 52235e9f8a
commit 104fdbff08

View File

@ -99,6 +99,8 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/mysql $(STAGING_DIR)/usr/include/
# NOTE: needed for MySQL-Python
$(CP) $(PKG_BUILD_DIR)/include/mysqld_error.h $(STAGING_DIR)/usr/include/mysql/
mkdir -p $(STAGING_DIR)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql $(STAGING_DIR)/usr/lib/
rm -f $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.la