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:
Diffstat (limited to 'runtime/Makefile.am')
-rw-r--r--runtime/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am
index c0426d2495e..05e622d07d7 100644
--- a/runtime/Makefile.am
+++ b/runtime/Makefile.am
@@ -102,9 +102,10 @@ 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 > $@
- if test -z "$(libgdiplus_loc)"; then :; else \
- mv $@ $@t; \
+ sed 's,target="libMonoPosixHelper[^"]*",target="'$$d/libMonoPosixHelper.la'",' ../data/config > $@t
+ if test -z "$(libgdiplus_loc)"; then \
+ mv -f $@t $@; \
+ else \
sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="$(libgdiplus_loc)" />,' $@t > $@; \
rm -f $@t; \
fi