From 22fbdf68baf5c3a87301df8edadc92108dff53c5 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 31 Mar 2014 11:15:17 +0000 Subject: [PATCH] - add -Wl to rpath --- mail/sendmail/bsd.milter.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/sendmail/bsd.milter.mk b/mail/sendmail/bsd.milter.mk index 34ab28115b3a..ad38ab4601e2 100644 --- a/mail/sendmail/bsd.milter.mk +++ b/mail/sendmail/bsd.milter.mk @@ -65,7 +65,7 @@ MILTER_SOVER?= 6 MILTERBASE?= ${LOCALBASE} MILTERINC= -I${MILTERBASE}/include MILTERRPATH= ${MILTERBASE}/lib -MILTERLIB= -L${MILTERBASE}/lib -rpath=${MILTERRPATH} +MILTERLIB= -L${MILTERBASE}/lib -Wl,-rpath,${MILTERRPATH} .if !defined(WITHOUT_MILTER_CFLAGS) .if defined(CFLAGS) @@ -88,7 +88,7 @@ pre-everything:: .if defined(WITH_SENDMAIL_BASE) MILTERBASE?= /usr MILTERRPATH= ${DESTDIR}/usr/lib:${LOCALBASE}/lib -MILTERLIB= -rpath=${MILTERRPATH} +MILTERLIB= -Wl,-rpath,${MILTERRPATH} .endif .if !defined(WITHOUT_MILTER_LDFLAGS)