From eca2e5dd5837fda20d76972c2c073fe7832cefdd Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 15 Dec 2007 02:56:58 +0200 Subject: [PATCH] Fixed binutils to build shared libs while not building a "static target" --- base/binutils/binutils.conf | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/base/binutils/binutils.conf b/base/binutils/binutils.conf index f53e6c059..764eef8ca 100644 --- a/base/binutils/binutils.conf +++ b/base/binutils/binutils.conf @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../binutils/binutils.conf +# Filename: package/.../binutils/binutils.conf +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -10,7 +11,11 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- + +if [ "$SDECFG_STATIC" != 1 ]; then + var_append confopt ' ' "--enable-shared" +fi if atstage toolchain; then bindir="/$prefix/crosscc"; mkdir -p $root/$prefix/crosscc