You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/11/08 18:40:48 UTC

[trafficserver] branch 9.2.x updated: Exports all symbols for missing_mangled_definition.so test plugin (#8444)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new 6ff3835  Exports all symbols for missing_mangled_definition.so test plugin (#8444)
6ff3835 is described below

commit 6ff3835418da4befd86102a1a7c403a35dfb10a8
Author: Randall Meyer <rr...@apache.org>
AuthorDate: Fri Oct 22 07:48:50 2021 -0700

    Exports all symbols for missing_mangled_definition.so test plugin (#8444)
    
    This fixes the tests verify_global_plugin and verify_remap_plugin when
    using lld and LTO
    
    (cherry picked from commit 20adcb42ccc51075d61833110e577667259e8b5a)
---
 tests/tools/plugins/Makefile.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/tools/plugins/Makefile.inc b/tests/tools/plugins/Makefile.inc
index 7afe0ef..fd154a4 100644
--- a/tests/tools/plugins/Makefile.inc
+++ b/tests/tools/plugins/Makefile.inc
@@ -43,6 +43,11 @@ tools_plugins_missing_mangled_definition_la_SOURCES = \
   tools/plugins/missing_mangled_definition_c.c \
   tools/plugins/missing_mangled_definition_cpp.cc \
   tools/plugins/missing_mangled_definition.h
+tools_plugins_missing_mangled_definition_la_LDFLAGS = \
+  -module \
+  -shared \
+  -avoid-version \
+  -rpath $(abs_builddir)
 
 noinst_LTLIBRARIES += tools/plugins/missing_ts_plugin_init.la
 tools_plugins_missing_ts_plugin_init_la_SOURCES = tools/plugins/missing_ts_plugin_init.cc