From: Nicolas Thill Date: Thu, 27 Sep 2007 02:22:08 +0000 (+0000) Subject: install a missing header (mysqld_error.h) required to build the MySQL-Python module. X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=80b9ea4d636e191c3deaa676b3d5e507184ed7d9 install a missing header (mysqld_error.h) required to build the MySQL-Python module. SVN-Revision: 9044 --- diff --git a/libs/mysql/Makefile b/libs/mysql/Makefile index 7a846d1dad..b4824584ca 100644 --- a/libs/mysql/Makefile +++ b/libs/mysql/Makefile @@ -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