Skip to content

Commit

Permalink
python3-ldap: for openldap v2.5.8, link with libldap instead of libld…
Browse files Browse the repository at this point in the history
…ap_r

Signed-off-by: Salman Ahmed <[email protected]>
  • Loading branch information
Salman Ahmed committed Nov 22, 2021
1 parent e148f8a commit bf5d8e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions meta-networking/recipes-devtools/python/python3-ldap_3.3.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b"
SRC_URI[md5sum] = "7608579722c491e42f5f63b3f88a95fb"
SRC_URI[sha256sum] = "4711cacf013e298754abd70058ccc995758177fb425f1c2d30e71adfc1d00aa5"

do_configure:prepend() {
sed -i -e 's:^library_dirs =.*::' ${S}/setup.cfg
sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' ${S}/setup.cfg
do_configure_prepend() {
sed -i -e 's:^library_dirs =.*::' \
-e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' \
-e 's/= ldap_r/= ldap/g' ${S}/setup.cfg
}

RDEPENDS:${PN} = " \
Expand Down

0 comments on commit bf5d8e6

Please sign in to comment.