]> code.ossystems Code Review - openembedded-core.git/commitdiff
bind: fix openSSL detection when using multiarch
authorKoen Kooi <koen@dominion.thruhere.net>
Mon, 9 Apr 2018 11:56:56 +0000 (13:56 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 May 2018 09:00:09 +0000 (10:00 +0100)
In multiarch /usr/include and /usr/lib/<tuple/ are not on the same level anymore. This change will pass a correct includedir, but a wrong libdir, but the linker picks it up anyway.

Tested on multiarch and regular build.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/bind/bind_9.10.6.bb

index 8b8835ba8034a41175734e2f8aea735dfa4f82f3..20c8d7b55a719bd6d65129761c30a2dfb040348d 100644 (file)
@@ -35,7 +35,7 @@ EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \
                  --disable-devpoll --enable-epoll --with-gost=no \
                  --with-gssapi=no --with-ecdsa=yes \
                  --sysconfdir=${sysconfdir}/bind \
-                 --with-openssl=${STAGING_LIBDIR}/.. \
+                 --with-openssl=${STAGING_DIR_HOST}${prefix} \
                "
 
 inherit autotools update-rc.d systemd useradd pkgconfig python3-dir