From d2f391c80c7a66ef0fae542a3bd8cc5781eb85ef Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Wed, 10 Sep 2014 08:36:42 +0200 Subject: Do not hardcode lib path The changes from 3408b8e5f194774e529e223173d68a1a8f880ea5 cause regressions in distros which do not use lib as folder for arch-specific libraries, like Fedora x86_64. Instead, reloc_libdir should be used (as in data/mono.pc.in). This change is released under the MIT/X11 license. --- runtime/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/Makefile.am') diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 7c9b6006673..df404acf398 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="$(prefix)/lib/libMonoPosixHelper$(libsuffix)",target="'$$d'/libMonoPosixHelper.la",' ../data/config > $@t + sed 's,target="$(prefix)/$(reloc_libdir)/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 -- cgit v1.2.3