Hi Dmitry,

On 12/19/22 19:18, Dmitry Goncharov wrote:
On Mon, Dec 19, 2022 at 11:24 AM Jeffrey Walton <noloa...@gmail.com> wrote:
For the *.pc file, we need '$(prefix)' to survive unexpanded.

What about
includedir:=$${prefix}/include
myconfig.pc:; @echo 'includedir=$(includedir)' >> myconfig.pc

?

That would render the $(includedir) variable unusable for use within the Makefile (for example, within targets that install the header files).

Cheers,

Alex


regards, Dmitry

--
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to