Skip to content

Commit

Permalink
libplist: fix python 3.12 compatibility
Browse files Browse the repository at this point in the history
Ticket:
libimobiledevice/libplist#247

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kanavin authored and kraj committed Dec 19, 2023
1 parent 0267219 commit d1c8993
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ CVE_STATUS_LIBLIST = " \
CVE-2017-5836 \
"

do_configure:prepend() {
rm ${S}/m4/ax_python_devel.m4
}

do_install:append () {
if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then
chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so
Expand Down
4 changes: 4 additions & 0 deletions meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ CVE_STATUS_LIBLIST = " \
CVE-2017-5836 \
"

do_configure:prepend() {
rm ${S}/m4/ax_python_devel.m4
}

do_install:append () {
if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then
chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so
Expand Down

0 comments on commit d1c8993

Please sign in to comment.