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

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

commit 083f7ff32ebba0cddea3e215f507ac609b7afb50
Author: Fei Deng <[email protected]>
AuthorDate: Wed Jun 13 15:22:29 2018 -0500

    set the LDFLAGS when jemalloc is being used
    
    (cherry picked from commit 3b07f261256538bb27d41ee2ce98728e78db9ad7)
---
 build/jemalloc.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build/jemalloc.m4 b/build/jemalloc.m4
index 3a4ed48..48b2cdc 100644
--- a/build/jemalloc.m4
+++ b/build/jemalloc.m4
@@ -56,6 +56,7 @@ if test "$enable_jemalloc" != "no"; then
   if test "$jemalloc_base_dir" != "/usr"; then
     TS_ADDTO(CPPFLAGS, [-I${jemalloc_include}])
     TS_ADDTO(LDFLAGS, [-L${jemalloc_ldflags}])
+    TS_ADDTO(LDFLAGS, [-Wl,--add-needed -L${jemalloc_base_dir}/lib 
-Wl,-rpath,${jemalloc_base_dir}/lib -Wl,--no-as-needed])
     TS_ADDTO_RPATH(${jemalloc_ldflags})
   fi
   # On Darwin, jemalloc symbols are prefixed with je_. Search for that first, 
then fall back

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to