This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch windows-amd64
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit e0a850ba1307525df4b16338ae51d8fc1dc5423c
Author: Damjan Jovanovic <dam...@apache.org>
AuthorDate: Fri Jan 3 18:12:17 2025 +0200

    crashrep needs to link with psapi.dll for some imports.
    
    Patch by: me
---
 main/crashrep/source/win32/makefile.mk | 3 ++-
 main/solenv/inc/wntmscx.mk             | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/main/crashrep/source/win32/makefile.mk 
b/main/crashrep/source/win32/makefile.mk
index 29e16dcb6b..80201d1efb 100644
--- a/main/crashrep/source/win32/makefile.mk
+++ b/main/crashrep/source/win32/makefile.mk
@@ -67,7 +67,8 @@ STDLIB1=\
        $(ADVAPI32LIB)\
        $(WSOCK32LIB)\
        $(SHELL32LIB)\
-       $(DBGHELPLIB)
+       $(DBGHELPLIB)\
+       $(PSAPILIB)
 
 APP1NOSVRES=$(RES)$/$(TARGET).res
 
diff --git a/main/solenv/inc/wntmscx.mk b/main/solenv/inc/wntmscx.mk
index c6f33c9034..d03b3897ca 100644
--- a/main/solenv/inc/wntmscx.mk
+++ b/main/solenv/inc/wntmscx.mk
@@ -402,4 +402,5 @@ WININETLIB=wininet.lib
 OLDNAMESLIB=oldnames.lib
 MSIMG32LIB=msimg32.lib
 PROPSYSLIB=propsys.lib
+PSAPILIB=psapi.lib
 

Reply via email to