diff --git a/mail/sendmail/files/site.config.m4.ssl b/mail/sendmail/files/site.config.m4.ssl index 801030866543..e49f187aca51 100644 --- a/mail/sendmail/files/site.config.m4.ssl +++ b/mail/sendmail/files/site.config.m4.ssl @@ -1,3 +1,4 @@ -APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib' -rpath=%%LOCALBASE%%/lib ) +APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib') +APPENDDEF(`confLDOPTS', `-Wl,-rpath=%%LOCALBASE%%/lib') APPENDDEF(`confINCDIRS', `-I%%LOCALBASE%%/include') APPENDDEF(`conf_sendmail_ENVDEF', `-DHASSRANDOMDEV')