[vlc-devel] [PATCH 1/2] contrib: don't use an empty PKG_CONFIG_PATH at the end of the path

Martin Storsjö martin at martin.st
Wed Mar 6 12:00:44 CET 2019


On Wed, 6 Mar 2019, Rémi Denis-Courmont wrote:

> Hi,
> 
> I'd think the same effects can be done in a single line without an
> if/else/endif.

That would probably be this then:

PKG_CONFIG_PATH := $(PREFIX)/lib/pkgconfig$(if $(PKG_CONFIG_PATH),:)$(PKG_CONFIG_PATH)

// Martin


More information about the vlc-devel mailing list