summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalman Ahmed <salman.ahmed@weidmueller.com>2021-11-22 10:17:11 +0100
committerKhem Raj <raj.khem@gmail.com>2021-11-24 09:31:08 -0800
commit61737a0f8c3ca364dadb0c6779089d61bb923b1f (patch)
tree9c65d1645d5a73536af3d2b131dc467db5f89175
parentb695c663562688d7540039e1074e3ba0967ed77b (diff)
downloadmeta-openembedded-61737a0f8c3ca364dadb0c6779089d61bb923b1f.tar.gz
python3-ldap: for openldap v2.5.8, link with libldap instead of libldap_r
Signed-off-by: Salman Ahmed <salman.ahmed@weidmueller.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
-rw-r--r--meta-networking/recipes-devtools/python/python3-ldap_3.3.1.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-networking/recipes-devtools/python/python3-ldap_3.3.1.bb b/meta-networking/recipes-devtools/python/python3-ldap_3.3.1.bb
index 0f62b5790..cd745ee3e 100644
--- a/meta-networking/recipes-devtools/python/python3-ldap_3.3.1.bb
+++ b/meta-networking/recipes-devtools/python/python3-ldap_3.3.1.bb
@@ -19,8 +19,9 @@ SRC_URI[md5sum] = "7608579722c491e42f5f63b3f88a95fb"
19SRC_URI[sha256sum] = "4711cacf013e298754abd70058ccc995758177fb425f1c2d30e71adfc1d00aa5" 19SRC_URI[sha256sum] = "4711cacf013e298754abd70058ccc995758177fb425f1c2d30e71adfc1d00aa5"
20 20
21do_configure:prepend() { 21do_configure:prepend() {
22 sed -i -e 's:^library_dirs =.*::' ${S}/setup.cfg 22 sed -i -e 's:^library_dirs =.*::' \
23 sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' ${S}/setup.cfg 23 -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' \
24 -e 's/= ldap_r/= ldap/g' ${S}/setup.cfg
24} 25}
25 26
26RDEPENDS:${PN} = " \ 27RDEPENDS:${PN} = " \