On Fri, 19 Jan 2024 20:21:21 GMT, Jiangli Zhou <jian...@openjdk.org> wrote:
> > You could support one build by adding something like -DSUPPORTS_STATIC_LINK > > for both .so and .a builds for Google, then use that to protect the > > renaming. > > Thanks, @coleenp. I think that could work for all different cases. I'll > reflect that in this PR. > > For longer term we probably still want to find a cleaner solution when the > static support becomes more popular. I think you should be able to use ld and objcopy to merge the .o files and hide all of the symbols you don't want to export. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17456#issuecomment-1902207127