sendmail: link with gcc instead of ld 8777/head
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Thu, 18 Jan 2018 11:28:03 +0000 (09:28 -0200)
committerRosen Penev <rosenp@gmail.com>
Wed, 24 Apr 2019 03:00:22 +0000 (20:00 -0700)
commit9d2bf88ec44fa85b120dcaf35dd733742abedabd
treed108c1360dffc72e86e0e3dc6827185799167789
parentdd2c1e03e693c210bf94913ee597d2b189720389
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>
mail/sendmail/files/OpenWrt
mail/sendmail/files/sharedlibrary.m4