Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | postfix: add -lnsl and -lresolv to SYSLIBS by default | Yi Zhao | 2018-10-12 | 1 | -0/+58 |
When building native package, the do_compile function tries to check libnsl.so and libresolv.so on host machine and add -lnsl and -lresolv to SYSLIBS if they exist. But finally it will link the libnsl.so from ${STAGING_LIBDIR_NATIVE}. Actually there is no need to check them since the libnsl2 is specified in DEPENDS and libresolv.so is from c libarary. So add -lnsl and -lresolv to SYSLIBS directly. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> |