This is an automated email from the ASF dual-hosted git repository.
dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 6cfb2c4d0a Tools: Update common.m4 TS_ADDTO_RPATH function to use a
generic rpath (#10096)
6cfb2c4d0a is described below
commit 6cfb2c4d0a62b383a1375f3ba109e70d14137126
Author: Damian Meden <[email protected]>
AuthorDate: Wed Aug 2 11:48:14 2023 +0100
Tools: Update common.m4 TS_ADDTO_RPATH function to use a generic rpath
(#10096)
---
m4/common.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/common.m4 b/m4/common.m4
index 35059b9263..c471b223b0 100644
--- a/m4/common.m4
+++ b/m4/common.m4
@@ -155,7 +155,7 @@ dnl Adds path to variable with the '-rpath' directive.
dnl
AC_DEFUN([TS_ADDTO_RPATH], [
AC_MSG_NOTICE([adding $1 to RPATH])
- TS_ADDTO(AM_LDFLAGS, [-R$1])
+ TS_ADDTO(AM_LDFLAGS, [-Wl,-rpath,$1])
])dnl
dnl