summaryrefslogtreecommitdiff
path: root/scripts/wrapper.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-06 20:30:57 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-06 20:30:57 (GMT)
commit5e27ad1e5aabdbc0633c380c4ab2959b34a55134 (patch)
tree9da9e865e952682520d5d227d615755baf75595d /scripts/wrapper.in
parent177a2b029c545624f09e7e704bb5a6ec7db086b6 (diff)
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" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/wrapper.in')
-rw-r--r--scripts/wrapper.in20
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/wrapper.in b/scripts/wrapper.in
deleted file mode 100644
index b4dfc97..0000000
--- 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}" "$@"