diff options
author | Kai Kang <kai.kang@windriver.com> | 2017-05-19 16:52:47 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-29 15:15:20 +0100 |
commit | 291a273502b5675455de30cd652850517d425f4f (patch) | |
tree | 3eeb2b34c3b0167aca2357c34fde34f25ae3f894 /meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb | |
parent | e680f23c8b644051486c21d77442190ec80494de (diff) | |
download | poky-291a273502b5675455de30cd652850517d425f4f.tar.gz |
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.
(From OE-Core rev: dde83ec778c09557d28b4388258e594be653875c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb')
-rw-r--r-- | meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb b/meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb index 678c29a28f..0a73eccc4b 100644 --- a/meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb +++ b/meta/recipes-connectivity/dhcp/dhcp_4.3.5.bb | |||
@@ -9,6 +9,7 @@ SRC_URI += "file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \ | |||
9 | file://libxml2-configure-argument.patch \ | 9 | file://libxml2-configure-argument.patch \ |
10 | file://tweak-to-support-external-bind.patch \ | 10 | file://tweak-to-support-external-bind.patch \ |
11 | file://remove-dhclient-script-bash-dependency.patch \ | 11 | file://remove-dhclient-script-bash-dependency.patch \ |
12 | file://build-shared-libs.patch \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI[md5sum] = "2b5e5b2fa31c2e27e487039d86f83d3f" | 15 | SRC_URI[md5sum] = "2b5e5b2fa31c2e27e487039d86f83d3f" |