msys2 is missing pexports - Mailing list pgsql-hackers

From Andrew Dunstan
Subject msys2 is missing pexports
Date
Msg-id 39c1ec50-102b-a14d-9c79-e44059d4f65a@2ndQuadrant.com
Whole thread Raw
List pgsql-hackers
We rely on pexports to extract exported symbols from DLL files (e.g. for
linking in PLs) when building with mingw. However, this program isn't
present in msys2. Instead the approved way is apparently to call
"gendef" from the appropriate toolset (e.g. /mingw64/bin). I have worked
around this on my new test machine but adding a script liker this in
/usr/bin/pexports:


    #!/bin/sh
    gendef - "$@"


However, requiring that is a bit ugly. Instead I think we should do
something like the attached.


I would not be surprised if we need to test the msys version elsewhere
as time goes on, so this would stand us in good stead if we do.


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Attachment

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Memory Accounting
Next
From: Bruce Momjian
Date:
Subject: Transparent Data Encryption (TDE) and encrypted files