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>
  • Loading branch information
Alexander Kanavin committed Dec 7, 2023
1 parent 13147ce commit 1689dd7
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 1689dd7

Please sign in to comment.