[Mesa-dev] [PATCH 02/39 v2] d3dadapter9: Add d3dadapter9.pc
Emil Velikov
emil.l.velikov at gmail.com
Mon May 16 18:33:47 UTC 2016
On 15 May 2016 at 13:46, Axel Davy <axel.davy at ens.fr> wrote:
> Export d3dadapter9.pc
>
> It is essentially the same than d3d.pc,
> except we want to drop d3d.pc in the future
> (we prefer the name d3dadapter9).
>
> v2: Resend because one file was missing.
>
> Signed-off-by: Axel Davy <axel.davy at ens.fr>
> ---
> configure.ac | 1 +
> src/gallium/targets/d3dadapter9/Makefile.am | 2 +-
> src/gallium/targets/d3dadapter9/d3dadapter9.pc.in | 11 +++++++++++
An alternative solution (slightly better imho) is to rename the
existing file, and make d3d.pc a symlink to it at build/install time.
Something like
d3d.pc: d3dadapter9.pc
$(AM_V_GEN)$(LN_S) d3dadapter9.pc $@
You'll need to add AC_PROG_LN_S to configure.ac (somewhere around the
other AC_PROG_) and keep both .pc files in pkgconfig_DATA.
An inline comment about d3d.pc would be amazing.
-Emil
More information about the mesa-dev
mailing list