git -build failure with gettext-0.18.2.1

From: Treeve Jelbert <hidden>
Date: 2016-06-15 22:57:04

git-1.8.2.2
glibc-2.17
gettext-0.18.2.1

Recent gettext versions install several libraries:
/usr/lib/libgettextlib-0.18.2.so
/usr/lib/libgettextsrc-0.18.2.so
/usr/lib/libintl.so.8.1.2

/usr/include/autosprintf.h
/usr/include/gettext-po.h

while glibc installs

/usr/include/libintl.h

git reports:

checking for gettext in -lc... yes


checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes





git build fails while trying to link

    LINK git-imap-send
libgit.a(diff.o): In function `parse_dirstat_params.isra.19':
diff.c:(.text+0x1f0f): undefined reference to `libintl_gettext'


I tried adding 

export LIBS="-lintl"


I also tried 

export NO_GETTEXT=1

before the build but to no avail
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help