diff options
author | Fabian Groffen <grobian@gentoo.org> | 2016-09-04 19:06:22 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2016-09-04 19:07:04 +0200 |
commit | 12e01db59d3f9a015c3b06f4217754f598e50ef5 (patch) | |
tree | 9808817a382cd3f329ce10c8fb376eb1605d28af /dev-libs/libxml2 | |
parent | sys-libs/llvm-libunwind: Bump to 3.9.0 (diff) | |
download | gentoo-12e01db59d3f9a015c3b06f4217754f598e50ef5.tar.gz gentoo-12e01db59d3f9a015c3b06f4217754f598e50ef5.tar.bz2 gentoo-12e01db59d3f9a015c3b06f4217754f598e50ef5.zip |
dev-libs/libxml2: fix linking of python modules on Darwin
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r-- | dev-libs/libxml2/libxml2-2.9.4.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-libs/libxml2/libxml2-2.9.4.ebuild b/dev-libs/libxml2/libxml2-2.9.4.ebuild index 21aff5968625..2e57be70716d 100644 --- a/dev-libs/libxml2/libxml2-2.9.4.ebuild +++ b/dev-libs/libxml2/libxml2-2.9.4.ebuild @@ -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. |