sendmail: fix confLIBSEARCHPATH to $(STAGING_DIR)

This fix issue 'cannot find -lnsl' on build server which has libnsl.so in
/usr/lib

Signed-off-by: Guo Li <uxgood.org@gmail.com>
This commit is contained in:
Guo Li
2018-09-26 12:14:10 +08:00
committed by Yousong Zhou
parent 1166618115
commit cbc948acf3
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ define(`confSM_OS_HEADER', `sm_os_linux')
define(`confLIBS', `-ldl')
define(`confEBINDIR', `/usr/sbin')
define(`confMKDIR', `mkdir')
APPENDDEF(`confLIBSEARCH', `crypt nsl')
define(`confLIBSEARCHPATH', `STAGING_DIR/lib STAGING_DIR/usr/lib')
APPENDDEF(`confLIBSEARCH', `crypt')
define(`confMTCCOPTS', `-D_REENTRANT')
define(`confMTLDOPTS', `-lpthread')