]> code.ossystems Code Review - openembedded-core.git/commit
dhcp: build shared libraries
authorKai Kang <kai.kang@windriver.com>
Fri, 19 May 2017 08:52:47 +0000 (16:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 May 2017 14:15:13 +0000 (15:15 +0100)
commitdde83ec778c09557d28b4388258e594be653875c
tree90161f2135e948b46ba5fa021d5a2e538b128385
parent7fe5f5c29ca271ab718bbd1383e596f2ae61554c
dhcp: build shared libraries

When enable bind threads support, it fails to compile dhcp:

| tmp/work/armv5e-poky-linux-gnueabi/bind/9.10.3-P3-r0/build/lib/isc/pthreads/../../../
| ../bind-9.10.3-P3/lib/isc/pthreads/thread.c:64: undefined reference to `pthread_create'

Enable build shared libraries for bind and dhcp to fix the build
failure. And the patch is ported from Fedora.

Add sub-package dhcp-libs to package shared libraries.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/dhcp/dhcp.inc
meta/recipes-connectivity/dhcp/dhcp/build-shared-libs.patch [new file with mode: 0644]
meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb