Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44d53a83 authored by Andrei Homescu's avatar Andrei Homescu
Browse files

mkbootfs: Link libc++ statically

mkbootfs is in dist_files so it should run
as a standalone binary, but it has a dependency
on libc++.so. Link the C++ library statically
so it can run on hosts that lack that library.

Bug: 409454917
Test: ldd ./out/host/linux-x86/bin/mkbootfs
Change-Id: Id31d5f4aaa0fde9301e6307966c719944960b803
parent 25754f24
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ cc_binary_host {
        "libcutils",
        "liblog",
    ],
    stl: "libc++_static",
    dist: {
        targets: ["dist_files"],
    },