From f68f7da269cfc1a77b50ab5fb5f504688043ba8e Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 13 May 2011 12:07:30 +0200 Subject: [PATCH] ghostscript: fixed to only install shared libraries if no static-only target is build --- graphic/ghostscript/ghostscript.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/graphic/ghostscript/ghostscript.conf b/graphic/ghostscript/ghostscript.conf index 083c18829..0a99a9938 100644 --- a/graphic/ghostscript/ghostscript.conf +++ b/graphic/ghostscript/ghostscript.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../ghostscript/ghostscript.conf -# Copyright (C) 2010 The OpenSDE Project +# Copyright (C) 2010 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,5 +12,7 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -#enable shared libraries instalation -var_append makeinstopt ' ' 'soinstall' +if [ "$SDECFG_STATIC" -ne 1 ]; then + #enable shared libraries instalation + var_append makeinstopt ' ' 'soinstall' +fi