v2-0001-Fix-meson.build-to-prevent-missed-obj-files-in-li.patch

text/x-diff

Filename: v2-0001-Fix-meson.build-to-prevent-missed-obj-files-in-li.patch
Type: text/x-diff
Part: 0
Message: Re: Exporting float_to_shortest_decimal_buf(n) with Postgres 17 on Windows

Patch

Format: format-patch
Series: patch v2-0001
Subject: Fix meson.build to prevent missed obj files in lib under Windows
File+
src/common/meson.build 1 0
From 06a1fe0c0d81974ebccbd2f031df62154bd1c29d Mon Sep 17 00:00:00 2001
From: Vladlen Popolitov <v.popolitov@postgrespro.ru>
Date: Mon, 23 Dec 2024 15:09:13 +0300
Subject: [PATCH v2] Fix meson.build to prevent missed obj files in lib under
 Windows

---
 src/common/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/meson.build b/src/common/meson.build
index 538e0f43d5..76a7f68fe3 100644
--- a/src/common/meson.build
+++ b/src/common/meson.build
@@ -184,6 +184,7 @@ foreach name, opts : pgcommon_variants
 
   lib = static_library('libpgcommon@0@'.format(name),
       link_with: cflag_libs,
+      link_whole: cflag_libs,
       c_pch: pch_c_h,
       kwargs: opts + {
         'include_directories': [
-- 
2.39.5 (Apple Git-154)