summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-07-08 08:49:10 +0000
committerMichał Górny <mgorny@gentoo.org>2014-07-08 08:49:10 +0000
commit6ee56647fc1fcd90c90d0e2a5bded3e11e022f4b (patch)
treeb9d438fc41d6b7932df734eb7d84dda05544ab51 /eclass/distutils-r1.eclass
parentFixed dependency to qdox (bug #515972); minor qa things (diff)
downloadgentoo-2-6ee56647fc1fcd90c90d0e2a5bded3e11e022f4b.tar.gz
gentoo-2-6ee56647fc1fcd90c90d0e2a5bded3e11e022f4b.tar.bz2
gentoo-2-6ee56647fc1fcd90c90d0e2a5bded3e11e022f4b.zip
Support linking Python modules on aix, thanks to haubi.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index a564e7c59bb7..19d51b72d590 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.100 2014/06/29 14:24:22 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.101 2014/07/08 08:49:10 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -603,6 +603,9 @@ distutils-r1_run_phase() {
# How to build Python modules in different worlds...
local ldopts
case "${CHOST}" in
+ # provided by haubi, 2014-07-08
+ *-aix*) ldopts='-shared -Wl,-berok';; # good enough
+ # provided by grobian, 2014-06-22, bug #513664 c7
*-darwin*) ldopts='-bundle -undefined dynamic_lookup';;
*) ldopts='-shared';;
esac