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
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.
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/distutils-r1.eclass5
2 files changed, 8 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 89436129b73e..73d49856ffb2 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1317 2014/07/07 14:41:56 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1318 2014/07/08 08:49:10 mgorny Exp $
+
+ 08 Jul 2014; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
+ Support linking Python modules on aix, thanks to haubi.
07 Jul 2014; Michał Górny <mgorny@gentoo.org> git-r3.eclass:
Stop forcing -m0755 on EGIT3_STORE_DIR and parents, bug #516508.
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