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 ? regards, Dmitry