ywkaras opened a new pull request, #11034: URL: https://github.com/apache/trafficserver/pull/11034
Two equivalent libraries are now created, libtsutil.a and libtsutil_link_dummy.so, with the same code and symbol content. Plugins are linked with libtsutil_link_dummy.so The drawback is, for dlopen() to successfully load the plugin, it will require the presence of libtsutil_link_dummy.so. But, the symbols in libtsutil_link_dummy.so don't seem to be used, because they are satisfied by symbols from core TS. I tested this (on Red Hat 8) by substituting a random .so for libtsutil_link_dummy.so, before successfully loading the xdebug.so plugin. I checked for an option in ld to resolve symbols for the link in a .so, without creating a dependency on it. But I could not find any such option. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@trafficserver.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org