install a missing header (mysqld_error.h) required to build the MySQL-Python module.
authorNicolas Thill <nico@openwrt.org>
Thu, 27 Sep 2007 02:22:08 +0000 (02:22 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 27 Sep 2007 02:22:08 +0000 (02:22 +0000)
SVN-Revision: 9044

libs/mysql/Makefile

index 7a846d1..b482458 100644 (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