| From: | "Matt Smith (matts3)" <matts3(at)cisco(dot)com> |
|---|---|
| To: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> |
| Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [PATCH] Add an ldflags_sl meson build option |
| Date: | 2025-06-17 08:15:44 |
| Message-ID: | MW6PR11MB8310B8087A115151E9A0A35E8C73A@MW6PR11MB8310.namprd11.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Updated patch with new description
________________________________
From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Sent: Tuesday, June 17, 2025 6:05 PM
To: Matt Smith (matts3) <matts3(at)cisco(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add an ldflags_sl meson build option
Hi,
On Mon, 16 Jun 2025 at 14:26, Matt Smith (matts3) <matts3(at)cisco(dot)com> wrote:
>
> Currently there doesn't seem to be a way to pass shared library-specific flags via a meson build option.
>
> This patch allows the existing ldflags_sl to be set via a build option.
>
> Patch created against the 17.4 release.
The patch looks correct.
+option('ldflags_sl', type: 'array', value: [],
+ description: 'Shared library ldflags')
nitpick: I would suggest using the same description from autoconf
build: 'extra linker flags for linking shared libraries only'.
--
Regards,
Nazir Bilal Yavuz
Microsoft
| Attachment | Content-Type | Size |
|---|---|---|
| postgresql-17.4-ldflags_sl_v2.patch | text/x-patch | 748 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | jian he | 2025-06-17 08:17:48 | Re: confusing message in check_tuple |
| Previous Message | Jelte Fennema-Nio | 2025-06-17 08:05:25 | Re: Huge commitfest app update upcoming: Tags, Draft CF, Help page, and automated commitfest creat/open/close |