Merge pull request #2303 from MilhouseVH/le90_fix_nss-mdns

nss-mdns: install all libraries, correct avahi socket path
This commit is contained in:
Christian Hewitt 2017-12-09 23:56:34 +04:00 committed by GitHub
commit 9000ad520e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,6 @@ PKG_SHORTDESC="nss-mdns is a plugin for nss to allow name resolution via Multica
PKG_LONGDESC="nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution via Multicast DNS"
PKG_TOOLCHAIN="autotools"
makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -P $PKG_BUILD/.$TARGET_NAME/src/.libs/libnss_mdns_minimal.so.2 $SYSROOT_PREFIX/usr/lib
}
post_makeinstall_target() {
mkdir -p $INSTALL/etc
cp $PKG_DIR/config/nsswitch.conf $INSTALL/etc/nsswitch.conf