From 50364c175507df075f3e1ed069a463d088e12b56 Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Thu, 4 Jan 2024 23:38:34 +0000 Subject: [PATCH] crt: Add cut-down mpr to windowsapp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mark Harmstone Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 1 + mingw-w64-crt/lib-common/mpr_windowsapp.def | 7 +++++++ mingw-w64-crt/lib-common/windowsapp.mri | 1 + mingw-w64-crt/lib32/mpr_windowsapp.def | 7 +++++++ 4 files changed, 16 insertions(+) create mode 100644 mingw-w64-crt/lib-common/mpr_windowsapp.def create mode 100644 mingw-w64-crt/lib32/mpr_windowsapp.def diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index 5a99163ab..0e69d31ba 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -3409,6 +3409,7 @@ endif %/libmfsensorgroup_windowsapp.a \ %/libmf_windowsapp.a \ %/libmmdevapi_windowsapp.a \ + %/libmpr_windowsapp.a \ %/librometadata.a \ %/libwindows.ai.machinelearning.a \ %/libwindows.data.pdf.a \ diff --git a/mingw-w64-crt/lib-common/mpr_windowsapp.def b/mingw-w64-crt/lib-common/mpr_windowsapp.def new file mode 100644 index 000000000..a3013cde8 --- /dev/null +++ b/mingw-w64-crt/lib-common/mpr_windowsapp.def @@ -0,0 +1,7 @@ +LIBRARY mpr + +EXPORTS + +WNetAddConnection2A +WNetCancelConnection2A +WNetUseConnectionA diff --git a/mingw-w64-crt/lib-common/windowsapp.mri b/mingw-w64-crt/lib-common/windowsapp.mri index ebe58fdeb..c36e482e6 100644 --- a/mingw-w64-crt/lib-common/windowsapp.mri +++ b/mingw-w64-crt/lib-common/windowsapp.mri @@ -220,6 +220,7 @@ ADDLIB libmfplat_windowsapp.a ADDLIB libmfsensorgroup_windowsapp.a ADDLIB libmf_windowsapp.a ADDLIB libmmdevapi_windowsapp.a +ADDLIB libmpr_windowsapp.a ADDLIB librometadata.a ADDLIB libwindows.ai.machinelearning.a ADDLIB libwindows.data.pdf.a diff --git a/mingw-w64-crt/lib32/mpr_windowsapp.def b/mingw-w64-crt/lib32/mpr_windowsapp.def new file mode 100644 index 000000000..e8cc6cf5d --- /dev/null +++ b/mingw-w64-crt/lib32/mpr_windowsapp.def @@ -0,0 +1,7 @@ +LIBRARY mpr + +EXPORTS + +WNetAddConnection2A@16 +WNetCancelConnection2A@12 +WNetUseConnectionA@32