mysql: rename libmysqlclient_r to libmysqlclient-r to avoid opkg issues

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32204 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-06-11 20:33:37 +00:00
parent 667ab6e677
commit 2c667a4572
2 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ define Package/libmysqlclient
$(call Package/libmysqlclient/Default) $(call Package/libmysqlclient/Default)
endef endef
define Package/libmysqlclient_r define Package/libmysqlclient-r
$(call Package/libmysqlclient/Default) $(call Package/libmysqlclient/Default)
TITLE += threadsafe TITLE += threadsafe
DEPENDS+= +libpthread DEPENDS+= +libpthread
@ -171,7 +171,7 @@ define Package/libmysqlclient/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(1)/usr/lib/
endef endef
define Package/libmysqlclient_r/install define Package/libmysqlclient-r/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient_r.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient_r.so.* $(1)/usr/lib/
endef endef
@ -202,4 +202,4 @@ endef
$(eval $(call BuildPackage,mysql-server)) $(eval $(call BuildPackage,mysql-server))
$(eval $(call BuildPackage,libmysqlclient)) $(eval $(call BuildPackage,libmysqlclient))
$(eval $(call BuildPackage,libmysqlclient_r)) $(eval $(call BuildPackage,libmysqlclient-r))

View File

@ -275,7 +275,7 @@ endef
define Package/freeradius2-mod-sql-mysql define Package/freeradius2-mod-sql-mysql
$(call Package/freeradius2/Default) $(call Package/freeradius2/Default)
DEPENDS:=freeradius2-mod-sql \ DEPENDS:=freeradius2-mod-sql \
+PACKAGE_freeradius2-mod-sql-mysql:libmysqlclient_r +PACKAGE_freeradius2-mod-sql-mysql:libmysqlclient-r
TITLE:=MySQL module TITLE:=MySQL module
endef endef