mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
sendmail: link with gcc instead of ld
If ld is used directly to link libmilter.so, linking is not done correctly with glibc, and produces a library that can't be used. Linking with the bad library produces a strange error: ld: conftest: hidden symbol `stat' in [...]libc_nonshared.a(stat.oS) is referenced by DSO Using ld with musl works fine, but using gcc is a more portable way of linking the shared library anyway. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
committed by
Rosen Penev
parent
dd2c1e03e6
commit
9d2bf88ec4
@@ -13,7 +13,7 @@ APPENDDEF(`confLIBSEARCH', `crypt')
|
||||
define(`confMTCCOPTS', `-D_REENTRANT')
|
||||
define(`confMTLDOPTS', `-lpthread')
|
||||
define(`confLDOPTS_SO', `-shared')
|
||||
define(`confSONAME',`-soname')
|
||||
define(`confSONAME',`-Wl,-soname')
|
||||
|
||||
define(`currentuser', esyscmd(`id -nu'))
|
||||
define(`currentgroup', esyscmd(`id -ng'))
|
||||
|
||||
Reference in New Issue
Block a user