diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild index 6ebccd647f220..ee20eaae3ae8b 100644 --- a/sys-apps/file/file-5.28.ebuild +++ b/sys-apps/file/file-5.28.ebuild @@ -78,7 +78,9 @@ multilib_src_compile() { if multilib_is_native_abi ; then emake else - emake -C src libmagic.la + cd src + emake magic.h #586444 + emake libmagic.la fi } diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild index 658a92fa32a29..1bdaeccf4330e 100644 --- a/sys-apps/file/file-9999.ebuild +++ b/sys-apps/file/file-9999.ebuild @@ -78,7 +78,9 @@ multilib_src_compile() { if multilib_is_native_abi ; then emake else - emake -C src libmagic.la + cd src + emake magic.h #586444 + emake libmagic.la fi }