diff options
author | Egor Bogatov <egorbo@gmail.com> | 2018-09-21 10:51:41 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-09-21 10:51:41 +0300 |
commit | e162fdaedea471f8e451cf77ef0e3a4e85122c68 (patch) | |
tree | 184934875cc73baa768063755f17b542725682ae /runtime | |
parent | 39ecb27fc99a6a77c57a569deaa9e7c0becc878d (diff) |
[System.Data] use PAL_gssapi.c for SSPI (#9922)
PAL_gssapi.c was converted to C recently in corefx but since our fork is not up to date I copied `PAL_gssapi.c` and `PAL_gssapi.h` into mono/metadata (I guess I should just cherry-pick those files to our fork).
For System.Data it will allow users to connect to sql servers using SSPI (Security Support Provider Interface).
See https://github.com/mono/mono/issues/9028 and https://github.com/mono/mono/issues/9751
on macOS (and iOS) it uses built-in GSS.framework.
on Linux it requires an additional package (`krb`) to be installed (see .NET Core prerequisites, e.g. https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x#ubuntu).
Unfortunately it's not installed on our CI yet.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 633bc041357..7806290222a 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -207,6 +207,13 @@ etc/mono/config: ../data/config Makefile $(symlinks) else \ echo "Unknown directory '$(abs_top_builddir)/mono/metadata'" && false; \ fi + if test -d "$(abs_top_builddir)/mono/metadata"; then \ + sed 's,target="$$mono_libdir/libmono-system-net-security-native$(libsuffix)",target="$(abs_top_builddir)/mono/metadata/libmono-system-net-security-native.la",' $@ > $@.tmp \ + && mv $@.tmp $@ \ + ; \ + else \ + echo "Unknown directory '$(abs_top_builddir)/mono/metadata'" && false; \ + fi if test -d "$(abs_top_builddir)/mono/btls/build-shared"; then \ sed 's,target="$$mono_libdir/libmono-btls-shared$(libsuffix)",target="$(abs_top_builddir)/mono/btls/build-shared/libmono-btls-shared$(libsuffix)",' $@ > $@.tmp \ && mv $@.tmp $@ \ |