fix steghide install when /bin/sh is dash

This commit is contained in:
João Lucas 2024-06-16 01:35:16 +01:00
parent 39d9385d2a
commit 78700c220b
No known key found for this signature in database
GPG key ID: 6404947A3E15D5AB

View file

@ -43,5 +43,7 @@ src_compile() {
}
src_install() {
emake DESTDIR="${ED}" docdir="${EPREFIX}/usr/share/doc/${PF}" install || die "emake install failed"
local libtool
[[ ${CHOST} == *-darwin* ]] && libtool=$(type -P glibtool) || libtool=$(type -P libtool)
emake DESTDIR="${ED}" docdir="${EPREFIX}/usr/share/doc/${PF}" LIBTOOL="${libtool}" install || die "emake install failed"
}