From 9cf084b85903c0ffe9414e7317b2d19f296ab8de Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Fri, 29 May 2020 18:26:32 +0000 Subject: [PATCH] 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 rpath to also be used for the test applications so they can determine at runtime where to look for libraries --- plugins/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 5a99d6fe597..1ce513c7e59 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