From 5e27ad1e5aabdbc0633c380c4ab2959b34a55134 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 6 Apr 2011 22:30:57 +0200 Subject: complibs: disable building shared libs Managing the shared version of the companion libraries has become cumbersome. Also, it will one day be possible to use the companion libraries from the host distribution, and then we will be able to easily use either shared or static libs. As a side note, while working on the canadian-rework series, it has become quite more complex to properly handle shared companion libraries, as they need to be built both for the build and gost systems. That's not easy to handle. At all. Signed-off-by: "Yann E. MORIN" --- scripts/wrapper.in | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 scripts/wrapper.in (limited to 'scripts/wrapper.in') diff --git a/scripts/wrapper.in b/scripts/wrapper.in deleted file mode 100644 index b4dfc97a..00000000 --- a/scripts/wrapper.in +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# this wrapper will not work under BSD systems or others -# not containig the GNU readlink. -# Under those, wrapper.c will forcibly be used -# regardless of the config file setting. - -canonicalizedname=$(readlink -nm "${0}") -dirname="$(dirname "${canonicalizedname}")" -basename="$(basename "${canonicalizedname}")" - -ld_lib_path="$(dirname "${dirname}")/lib" - -case ":${LD_LIBRARY_PATH}:" in - *":${ld_lib_path}:"*) ;; - *) LD_LIBRARY_PATH="${ld_lib_path}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}";; -esac - -export LD_LIBRARY_PATH -exec "${dirname}/.${basename}" "$@" -- cgit v1.2.3