ubus: declare main version as ABI version for libubus
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Feb 2014 17:32:11 +0000 (17:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 23 Feb 2014 17:32:11 +0000 (17:32 +0000)
Reorder BuildPackage calls, as libubox needs to come first for ABI
version handling to work

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39722

package/system/ubus/Makefile

index 3da6d16d445f9dae19dc65bb51ba9d8d27d3de91..34ff179cc6a66f37cddd04caef513fc3f0006a92 100644 (file)
@@ -38,6 +38,7 @@ define Package/libubus
   SECTION:=libs
   CATEGORY:=Libraries
   DEPENDS:=+libubox
+  ABI_VERSION:=$(PKG_VERSION)
   TITLE:=OpenWrt RPC client library
 endef
 
@@ -73,8 +74,7 @@ define Package/libubus-lua/install
        $(CP) $(PKG_BUILD_DIR)/lua/ubus.so $(1)/usr/lib/lua/
 endef
 
-$(eval $(call BuildPackage,ubus))
-$(eval $(call BuildPackage,ubusd))
 $(eval $(call BuildPackage,libubus))
 $(eval $(call BuildPackage,libubus-lua))
-
+$(eval $(call BuildPackage,ubus))
+$(eval $(call BuildPackage,ubusd))