Merge pull request #8777 from neheb/sendm
[18.06] sendmail: link with gcc instead of ld
This commit is contained in:
commit
1f77a05825
2 changed files with 2 additions and 2 deletions
|
@ -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'))
|
||||
|
|
|
@ -9,7 +9,7 @@ include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/defines.m4')
|
|||
divert(bldTARGETS_SECTION)
|
||||
|
||||
bldCURRENT_PRODUCT.so.confSOVER: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'}
|
||||
${LD} ${LDOPTS_SO} -o bldCURRENT_PRODUCT.so.confSOVER confSONAME bldCURRENT_PRODUCT.so.confSOVER ${bldCURRENT_PRODUCT`OBJS'}
|
||||
${CC} ${LDOPTS_SO} -o bldCURRENT_PRODUCT.so.confSOVER confSONAME,bldCURRENT_PRODUCT.so.confSOVER ${bldCURRENT_PRODUCT`OBJS'}
|
||||
ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE_LINKS(bldLINK_SOURCES)')
|
||||
|
||||
install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT.so.confSOVER
|
||||
|
|
Loading…
Reference in a new issue