Alexandre Julliard : sfc: Build in data-only mode.

Alexandre Julliard julliard at winehq.org
Wed Feb 16 15:30:24 CST 2022


Module: wine
Branch: master
Commit: 2abcdf08033334075a22e65b97a7f8874361e72a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2abcdf08033334075a22e65b97a7f8874361e72a

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Feb 16 16:11:54 2022 +0100

sfc: Build in data-only mode.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/sfc/Makefile.in |  3 +--
 dlls/sfc/sfc.spec    | 20 +++++++++-----------
 2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/dlls/sfc/Makefile.in b/dlls/sfc/Makefile.in
index 3a557a4b6f2..1c8fe4f9b8c 100644
--- a/dlls/sfc/Makefile.in
+++ b/dlls/sfc/Makefile.in
@@ -1,5 +1,4 @@
 MODULE    = sfc.dll
 IMPORTLIB = sfc
-IMPORTS   = sfc_os
 
-EXTRADLLFLAGS = -Wb,--prefer-native
+EXTRADLLFLAGS = -Wb,--data-only -Wb,--prefer-native
diff --git a/dlls/sfc/sfc.spec b/dlls/sfc/sfc.spec
index 77a82739a5c..7509c98b666 100644
--- a/dlls/sfc/sfc.spec
+++ b/dlls/sfc/sfc.spec
@@ -1,18 +1,16 @@
-1 stub @ # sfc_os.SfcInitProt
-2 stub @ # sfc_os.SfcTerminateWatcherThread
+1 stdcall @() sfc_os.SfcInitProt
+2 stdcall @() sfc_os.SfcTerminateWatcherThread
 3 stdcall @(long) sfc_os.SfcConnectToServer
-4 stub @ # sfc_os.SfcClose
-5 stub @ # sfc_os.SfcFileException
-6 stub @ # sfc_os.SfcInitiateScan
-7 stub @ # sfc_os.SfcInstallProtectedFiles
-8 stub @ # sfc_os.SfpInstallCatalog
-9 stub @ # SfpDeleteCatalog
+4 stdcall @() sfc_os.SfcClose
+5 stdcall @() sfc_os.SfcFileException
+6 stdcall @() sfc_os.SfcInitiateScan
+7 stdcall @() sfc_os.SfcInstallProtectedFiles
+8 stdcall @() sfc_os.SfpInstallCatalog
+9 stdcall @() sfc_os.SfpDeleteCatalog
 @ stdcall SRSetRestorePoint(ptr ptr) sfc_os.SRSetRestorePointA
 @ stdcall SRSetRestorePointA(ptr ptr) sfc_os.SRSetRestorePointA
 @ stdcall SRSetRestorePointW(ptr ptr) sfc_os.SRSetRestorePointW
 @ stdcall SfcGetNextProtectedFile(long ptr) sfc_os.SfcGetNextProtectedFile
 @ stdcall SfcIsFileProtected(ptr wstr) sfc_os.SfcIsFileProtected
 @ stdcall SfcIsKeyProtected(long wstr long) sfc_os.SfcIsKeyProtected
-@ stub SfcWLEventLogoff
-@ stub SfcWLEventLogon
-@ stub SfpVerifyFile
+@ stdcall SfpVerifyFile() sfc_os.SfpVerifyFile




More information about the wine-cvs mailing list