util-linux: move libuuid BuildPackage line further up to fix ABI versioning
authorFelix Fietkau <nbd@nbd.name>
Mon, 15 Feb 2021 22:59:18 +0000 (23:59 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 15 Feb 2021 23:00:14 +0000 (00:00 +0100)
After the ABI version rework, packages need to be declared in the order of
their dependencies, so that dependent packages will use the right ABI version

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/utils/util-linux/Makefile

index f4b870cc47cd08a40cfc91b367a0f2b397279184..b385030e39c5f9767a7ade129062e6e3f797c4af 100644 (file)
@@ -791,11 +791,13 @@ define Package/wipefs/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wipefs $(1)/usr/sbin/
 endef
 
+# these lines need to be ordered by dependency because of ABI versioning
+$(eval $(call BuildPackage,libuuid))
 $(eval $(call BuildPackage,libblkid))
 $(eval $(call BuildPackage,libfdisk))
+
 $(eval $(call BuildPackage,libmount))
 $(eval $(call BuildPackage,libsmartcols))
-$(eval $(call BuildPackage,libuuid))
 $(eval $(call BuildPackage,agetty))
 $(eval $(call BuildPackage,blkdiscard))
 $(eval $(call BuildPackage,blkid))