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

leginee pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 7e339f4bc5adfc9861a5e92fb052574558a01383
Author: Damjan Jovanovic <[email protected]>
AuthorDate: Fri Jan 3 18:12:17 2025 +0200

    crashrep needs to link with psapi.dll for some imports.
    
    Patch by: me
    
    (cherry picked from commit e0a850ba1307525df4b16338ae51d8fc1dc5423c)
---
 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 a71ea76716..585da4036e 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 b4973e4477..38217bcc76 100644
--- a/main/solenv/inc/wntmscx.mk
+++ b/main/solenv/inc/wntmscx.mk
@@ -402,3 +402,4 @@ WININETLIB=wininet.lib
 OLDNAMESLIB=oldnames.lib
 MSIMG32LIB=msimg32.lib
 PROPSYSLIB=propsys.lib
+PSAPILIB=psapi.lib

Reply via email to