mysql: rename libmysqlclient_r to libmysqlclient-r to avoid opkg issues
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jun 2012 20:33:37 +0000 (20:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jun 2012 20:33:37 +0000 (20:33 +0000)
SVN-Revision: 32204

libs/mysql/Makefile
net/freeradius2/Makefile

index a039f4e..0f18db3 100644 (file)
@@ -51,7 +51,7 @@ define Package/libmysqlclient
   $(call Package/libmysqlclient/Default)
 endef
 
-define Package/libmysqlclient_r
+define Package/libmysqlclient-r
   $(call Package/libmysqlclient/Default)
   TITLE += threadsafe
   DEPENDS+= +libpthread
@@ -171,7 +171,7 @@ define Package/libmysqlclient/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(1)/usr/lib/
 endef
-define Package/libmysqlclient_r/install
+define Package/libmysqlclient-r/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient_r.so.* $(1)/usr/lib/
 endef
@@ -202,4 +202,4 @@ endef
 
 $(eval $(call BuildPackage,mysql-server))
 $(eval $(call BuildPackage,libmysqlclient))
-$(eval $(call BuildPackage,libmysqlclient_r))
+$(eval $(call BuildPackage,libmysqlclient-r))
index dfb385f..350e426 100644 (file)
@@ -275,7 +275,7 @@ endef
 define Package/freeradius2-mod-sql-mysql
   $(call Package/freeradius2/Default)
   DEPENDS:=freeradius2-mod-sql \
-       +PACKAGE_freeradius2-mod-sql-mysql:libmysqlclient_r
+       +PACKAGE_freeradius2-mod-sql-mysql:libmysqlclient-r
   TITLE:=MySQL module
 endef