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