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 2020/06/02 21:55:27 UTC

[trafficserver] branch 8.1.x updated: Change AM_LDFLAGS to be an addition, not an overwrite, in the plugin makefile. This allows the various libpaths, and specifically the rpath, to be transferred over to plugins when used for tests. Currently separate test applications will build properly against things like a custom openssl installation, however when they run they do not know the correct location unless you have set the LD path on the system to include that directory. Passing this information around allows the ATS library [...]

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

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


The following commit(s) were added to refs/heads/8.1.x by this push:
     new 0c406c5  Change AM_LDFLAGS to be an addition, not an overwrite, in the plugin makefile.  This allows the various libpaths, and specifically the rpath, to be transferred over to plugins when used for tests.  Currently separate test applications will build properly against things like a custom openssl installation, however when they run they do not know the correct location unless you have set the LD path on the system to include that directory.  Passing this information around all [...]
0c406c5 is described below

commit 0c406c5c00fb3efc3ae29d59bf18b0441539943c
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Fri May 29 13:59:50 2020 -0700

    Change AM_LDFLAGS to be an addition, not an overwrite, in the plugin makefile.  This allows the various libpaths, and specifically the rpath, to be transferred over to plugins when used for tests.  Currently separate test applications will build properly against things like a custom openssl installation, however when they run they do not know the correct location unless you have set the LD path on the system to include that directory.  Passing this information around allows the ATS li [...]
    
    (cherry picked from commit 78028cf5b95b52c010e1a21b5a2d610e99c48329)
---
 plugins/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 6520149..b86bcd8 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -25,7 +25,7 @@ pkglib_LTLIBRARIES =
 
 SUBDIRS =
 
-AM_LDFLAGS = $(TS_PLUGIN_LD_FLAGS)
+AM_LDFLAGS += $(TS_PLUGIN_LD_FLAGS)
 
 include authproxy/Makefile.inc
 include background_fetch/Makefile.inc