meson: pkgconfig difference - Mailing list pgsql-hackers

From Peter Eisentraut
Subject meson: pkgconfig difference
Date
Msg-id 07b37c70-349a-8fcd-bcc9-6c3ce0f6c2a4@enterprisedb.com
Whole thread Raw
Responses Re: meson: pkgconfig difference
List pgsql-hackers
I think there is a tiny typo in src/interfaces/ecpg/ecpglib/meson.build:

diff --git a/src/interfaces/ecpg/ecpglib/meson.build 
b/src/interfaces/ecpg/ecpglib/meson.build
index dba9e3c3d9..da8d304f54 100644
--- a/src/interfaces/ecpg/ecpglib/meson.build
+++ b/src/interfaces/ecpg/ecpglib/meson.build
@@ -57,7 +57,7 @@ pkgconfig.generate(
    description: 'PostgreSQL libecpg library',
    url: pg_url,
    libraries: ecpglib_so,
-  libraries_private: [frontend_shlib_code, thread_dep],
+  libraries_private: [frontend_stlib_code, thread_dep],
    requires_private: ['libpgtypes', 'libpq'],
  )

This makes it match the other libraries.

Without this change, we get

Libs.private: ... -lpgport_shlib -lpgcommon_shlib

which seems wrong.



pgsql-hackers by date:

Previous
From: Ilya Gladyshev
Date:
Subject: Re: Progress report of CREATE INDEX for nested partitioned tables
Next
From: Andres Freund
Date:
Subject: Re: meson: pkgconfig difference