summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/git/git.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 25158330b6..5396628790 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -36,8 +36,11 @@ perl_native_fixup () {
36 sed -i -e 's#${STAGING_BINDIR_NATIVE}/perl-native/#${bindir}/#' \ 36 sed -i -e 's#${STAGING_BINDIR_NATIVE}/perl-native/#${bindir}/#' \
37 -e 's#${libdir}/perl-native/#${libdir}/#' \ 37 -e 's#${libdir}/perl-native/#${libdir}/#' \
38 ${@d.getVar("PERLTOOLS", True).replace(' /',d.getVar('D', True) + '/')} 38 ${@d.getVar("PERLTOOLS", True).replace(' /',d.getVar('D', True) + '/')}
39 mv ${D}${libdir}/perl-native/perl ${D}${libdir} 39
40 rmdir ${D}${libdir}/perl-native || true 40 # ${libdir} is not applicable here, perl-native files are always
41 # installed to /usr/lib on both 32/64 bits targets.
42 mv ${D}${exec_prefix}/lib/perl-native/perl ${D}${libdir}
43 rmdir -p ${D}${exec_prefix}/lib/perl-native || true
41} 44}
42 45
43REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core" 46REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core"