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:
authorZoltan Varga <vargaz@gmail.com>2016-10-22 00:29:13 +0300
committerGitHub <noreply@github.com>2016-10-22 00:29:13 +0300
commit2fb07d6c6d5b3915ef4665391febbb7b8be09fb5 (patch)
tree6c5e0315011a1f707c844a3ae171ca71db5b0ebf /runtime
parent20acd5895c2f0d661a4a9971f979f33384f6066e (diff)
[btls] Convert BTLS icalls to pinvokes by invoking them using [DllImp… (#3799)
* [btls] Convert BTLS icalls to pinvokes by invoking them using [DllImport("__Internal")], which will make it easier to redirect them to a separate dylib in the future. * [btls] Add a --enable-dynamic-btls configure flag to enable compiling btls into a separate shared library instead of embedding it into the runtime.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am
index 068bb1d3dc0..9ca31834655 100644
--- a/runtime/Makefile.am
+++ b/runtime/Makefile.am
@@ -165,10 +165,13 @@ CLEANFILES = etc/mono/config
etc/mono/config: ../data/config Makefile $(symlinks)
d=`cd ../support && pwd`; \
sed 's,target="$$mono_libdir/libMonoPosixHelper$(libsuffix)",target="'$$d'/libMonoPosixHelper.la",' ../data/config > $@t
+ d=`cd ../mono/btls/build-shared && pwd`; \
+ sed 's,target="$$mono_libdir/libmono-btls-shared$(libsuffix)",target="'$$d'/libmono-btls-shared$(libsuffix)",' $@t > $@tt
if test -z "$(libgdiplus_loc)"; then :; else \
- sed 's,target="$(libgdiplus_install_loc)",target="$(libgdiplus_loc)",' $@t > $@tt; \
- mv -f $@tt $@t; fi
- mv -f $@t $@
+ sed 's,target="$(libgdiplus_install_loc)",target="$(libgdiplus_loc)",' $@tt > $@ttt; \
+ mv -f $@ttt $@tt; fi
+ mv -f $@tt $@
+ rm -f $@t
$(tmpinst)/bin/mono: mono-wrapper etc/mono/config
$(mkinstalldirs) $(tmpinst)/bin