summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-07-11 08:18:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-07-11 08:18:03 +0000
commit7f2d1d1f91d5a991c819d47c226d618f7d644109 (patch)
treee6063b96e99e0bef35b271ab056fa0f1bbe4ce68 /eclass/mysql.eclass
parentUse --logfile, bug 181243. (diff)
downloadhistorical-7f2d1d1f91d5a991c819d47c226d618f7d644109.tar.gz
historical-7f2d1d1f91d5a991c819d47c226d618f7d644109.tar.bz2
historical-7f2d1d1f91d5a991c819d47c226d618f7d644109.zip
Bug #88360, static builds need to have PIC some pick stuff for when dynamic files are built against them.
Diffstat (limited to 'eclass/mysql.eclass')
-rw-r--r--eclass/mysql.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 73f58125b2e3..c72dd59c3cd0 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.79 2007/07/02 14:24:27 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.80 2007/07/11 08:18:03 robbat2 Exp $
# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
# Maintainer: Luca Longinotti <chtekk@gentoo.org>
@@ -250,7 +250,7 @@ configure_minimal() {
if use static ; then
myconf="${myconf} --with-client-ldflags=-all-static"
- myconf="${myconf} --disable-shared"
+ myconf="${myconf} --disable-shared --with-pic"
else
myconf="${myconf} --enable-shared --enable-static"
fi
@@ -276,7 +276,7 @@ configure_common() {
if use static ; then
myconf="${myconf} --with-mysqld-ldflags=-all-static"
myconf="${myconf} --with-client-ldflags=-all-static"
- myconf="${myconf} --disable-shared"
+ myconf="${myconf} --disable-shared --with-pic"
else
myconf="${myconf} --enable-shared --enable-static"
fi