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

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


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

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

usp10: Build in data-only mode.

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

---

 dlls/usp10/Makefile.in |  2 ++
 dlls/usp10/usp10.spec  | 12 ++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dlls/usp10/Makefile.in b/dlls/usp10/Makefile.in
index 158b7f8d3c9..016891af651 100644
--- a/dlls/usp10/Makefile.in
+++ b/dlls/usp10/Makefile.in
@@ -1,2 +1,4 @@
 MODULE    = usp10.dll
 IMPORTLIB = usp10
+
+EXTRADLLFLAGS = -Wb,--data-only
diff --git a/dlls/usp10/usp10.spec b/dlls/usp10/usp10.spec
index 5344d21075d..70bce16902d 100644
--- a/dlls/usp10/usp10.spec
+++ b/dlls/usp10/usp10.spec
@@ -1,4 +1,4 @@
-@ stub LpkPresent
+@ stdcall LpkPresent() gdi32.LpkPresent
 @ stdcall ScriptApplyDigitSubstitution(ptr ptr ptr) gdi32.ScriptApplyDigitSubstitution
 @ stdcall ScriptApplyLogicalWidth(ptr long long ptr ptr ptr ptr ptr ptr) gdi32.ScriptApplyLogicalWidth
 @ stdcall ScriptBreak(ptr long ptr ptr) gdi32.ScriptBreak
@@ -21,7 +21,7 @@
 @ stdcall ScriptLayout(long ptr ptr ptr) gdi32.ScriptLayout
 @ stdcall ScriptPlace(ptr ptr ptr long ptr ptr ptr ptr ptr) gdi32.ScriptPlace
 @ stdcall ScriptPlaceOpenType(ptr ptr ptr long long ptr ptr long wstr ptr ptr long ptr ptr long ptr ptr ptr) gdi32.ScriptPlaceOpenType
-@ stub ScriptPositionSingleGlyph
+@ stdcall ScriptPositionSingleGlyph() gdi32.ScriptPositionSingleGlyph
 @ stdcall ScriptRecordDigitSubstitution(long ptr) gdi32.ScriptRecordDigitSubstitution
 @ stdcall ScriptShape(ptr ptr ptr long long ptr ptr ptr ptr ptr) gdi32.ScriptShape
 @ stdcall ScriptShapeOpenType(ptr ptr ptr long long ptr ptr long wstr long long ptr ptr ptr ptr ptr) gdi32.ScriptShapeOpenType
@@ -36,9 +36,9 @@
 @ stdcall ScriptString_pLogAttr(ptr) gdi32.ScriptString_pLogAttr
 @ stdcall ScriptString_pSize(ptr) gdi32.ScriptString_pSize
 @ stdcall ScriptString_pcOutChars(ptr) gdi32.ScriptString_pcOutChars
-@ stub ScriptSubstituteSingleGlyph
+@ stdcall ScriptSubstituteSingleGlyph() gdi32.ScriptSubstituteSingleGlyph
 @ stdcall ScriptTextOut(ptr ptr long long long ptr ptr ptr long ptr long ptr ptr ptr) gdi32.ScriptTextOut
 @ stdcall ScriptXtoCP(long long long ptr ptr ptr ptr ptr ptr) gdi32.ScriptXtoCP
-@ stub UspAllocCache
-@ stub UspAllocTemp
-@ stub UspFreeMem
+@ stdcall UspAllocCache() gdi32.UspAllocCache
+@ stdcall UspAllocTemp() gdi32.UspAllocTemp
+@ stdcall UspFreeMem() gdi32.UspFreeMem




More information about the wine-cvs mailing list