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 b4ae19cf680349e88513e826f373ee33cab7f5dc
Author: Damjan Jovanovic <dam...@apache.org>
AuthorDate: Fri Jan 3 00:36:02 2025 +0200

    Add "version" as a library on Windows, and link to it so we
    can find functions like VerQueryValueW() on Win64.
    
    Patch by: me
---
 main/solenv/gbuild/platform/windows.mk | 1 +
 main/vcl/Library_vcl.mk                | 1 +
 2 files changed, 2 insertions(+)

diff --git a/main/solenv/gbuild/platform/windows.mk 
b/main/solenv/gbuild/platform/windows.mk
index ad75301570..70a1643355 100644
--- a/main/solenv/gbuild/platform/windows.mk
+++ b/main/solenv/gbuild/platform/windows.mk
@@ -531,6 +531,7 @@ gb_Library_PLAINLIBS_NONE += \
        user32 \
        uuid \
        uwinapi \
+       version \
        winmm \
        winspool \
        ws2_32 \
diff --git a/main/vcl/Library_vcl.mk b/main/vcl/Library_vcl.mk
index fe9b9fe860..f31f503005 100644
--- a/main/vcl/Library_vcl.mk
+++ b/main/vcl/Library_vcl.mk
@@ -529,6 +529,7 @@ $(eval $(call gb_Library_add_linked_libs,vcl,\
        shell32 \
        user32 \
        uuid \
+       version \
        winspool \
        $(gb_STDLIBS) \
 ))

Reply via email to