Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2014-05-27 14:57:38 +0400
committerAndrea Canciani <ranma42@gmail.com>2014-07-01 16:25:12 +0400
commit3408b8e5f194774e529e223173d68a1a8f880ea5 (patch)
tree62403324b5d8acad488d0f5f2494ea678ebce4f0 /runtime/Makefile.am
parent8f961e65609574d51800a2f6844fa4786c08164c (diff)
Use Mono prefix for libMonoPosixHelper
The libMonoPosixHelper is installed together with Mono, hence its path in the configuration should be relative to the Mono prefix. It was previously assumed to reside in a system path, so the the dynamic linker would find it anyway. This patch is based on the one included in bug #18555 (by Gaƫtan Lehmann <gaetan.lehmann@gmail.com>), but it also updates runtime/Makefile.am to keep runtime/etc/mono/config consistent. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=18555
Diffstat (limited to 'runtime/Makefile.am')
-rw-r--r--runtime/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am
index 6b784a3d6e8..7c9b6006673 100644
--- a/runtime/Makefile.am
+++ b/runtime/Makefile.am
@@ -168,7 +168,7 @@ CLEANFILES = etc/mono/config
# depend on $(symlinks) to ensure 'etc/mono' directory exists
etc/mono/config: ../data/config Makefile $(symlinks)
d=`cd ../support && pwd`; \
- sed 's,target="libMonoPosixHelper[^"]*",target="'$$d/libMonoPosixHelper.la'",' ../data/config > $@t
+ sed 's,target="$(prefix)/lib/libMonoPosixHelper$(libsuffix)",target="'$$d'/libMonoPosixHelper.la",' ../data/config > $@t
if test -z "$(libgdiplus_loc)"; then :; else \
sed 's,target="[^"]*libgdiplus[^"]*",target="$(libgdiplus_loc)",' $@t > $@tt; \
mv -f $@tt $@t; fi