Skip to content

Commit

Permalink
dev-libs/libxml2: fix linking of python modules on Darwin
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
grobian committed Sep 4, 2016
1 parent a251d35 commit 12e01db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev-libs/libxml2/libxml2-2.9.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ src_prepare() {
# https://bugzilla.gnome.org/show_bug.cgi?id=760458
eapply "${FILESDIR}"/${PN}-2.9.2-python-ABIFLAG.patch

# Avoid final linking arguments for python modules
if [[ ${CHOST} == *-darwin* ]] ; then
sed -i -e '/PYTHON_LIBS/s/ldflags/libs/' configure.ac || die
fi

# Please do not remove, as else we get references to PORTAGE_TMPDIR
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
# We now need to run eautoreconf at the end to prevent maintainer mode.
Expand Down

0 comments on commit 12e01db

Please sign in to comment.