aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-02-16 00:03:28 +0100
committerFelix Fietkau <nbd@nbd.name>2021-02-16 12:27:56 +0100
commit268381cc5a01d32ca068011d9ceb211afb560dc1 (patch)
tree1fe6a2f201fccac3e7b34ab77f23a037706b852e /package/libs
parent3e807f0305019bab2da8af5792e13c186405e002 (diff)
downloadupstream-268381cc5a01d32ca068011d9ceb211afb560dc1.tar.gz
upstream-268381cc5a01d32ca068011d9ceb211afb560dc1.tar.bz2
upstream-268381cc5a01d32ca068011d9ceb211afb560dc1.zip
build: reorder more BuildPackages lines to deal with ABI_VERSION
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> (cherry-picked from commit 75455b75a7ee)
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/elfutils/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile
index f2b25d2c36..aa6743e688 100644
--- a/package/libs/elfutils/Makefile
+++ b/package/libs/elfutils/Makefile
@@ -95,7 +95,8 @@ define Package/libelf/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libelf{-*.so,*.so.*} $(1)/usr/lib/
endef
-$(eval $(call BuildPackage,libasm))
-$(eval $(call BuildPackage,libdw))
+# these lines need to be ordered by dependency because of ABI versioning
$(eval $(call BuildPackage,libelf))
+$(eval $(call BuildPackage,libdw))
+$(eval $(call BuildPackage,libasm))
$(eval $(call HostBuild))