multilib.eclass: get_exeext for mingw/cygwin exe suffix, #588330
authorMichał Górny <mgorny@gentoo.org>
Thu, 21 Jul 2016 15:17:14 +0000 (17:17 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 3 Sep 2016 11:05:53 +0000 (13:05 +0200)
commit9f670e5d23d09556e3b52916c896e2ea32508981
tree14a60dbf65e0512aa47fdf63ed9d13910fe1cd0c
parentd5bd773b037a1a0c3160d97530d8c3cd2cfda9f7
multilib.eclass: get_exeext for mingw/cygwin exe suffix, #588330

Add a get_exeext function that can be used to obtain executable program
suffix specific to the platform, in line with get_libname and
get_modname. It is necessary to correctly reference built programs on
non-standard platforms where executables use some suffix (like .exe).

Original author: Gerhard Bräunlich
eclass/multilib.eclass