Skip to content

Commit

Permalink
Turn off --exclude-libs,ALL so that libupdater.a symbols can be public
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed May 9, 2023
1 parent f24f62f commit d6c410f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,10 @@ config("compiler") {

ldflags += [
"-Wl,--no-undefined",
"-Wl,--exclude-libs,ALL",

# TODO: Terrible hack, but otherwise libupdater.a symbols can't
# be exported from libflutter.so, even when added to android_exports.lst.
# "-Wl,--exclude-libs,ALL",
"-fuse-ld=lld",

# Enable identical code folding to reduce size.
Expand Down

0 comments on commit d6c410f

Please sign in to comment.