diff --git a/recipes-external/gcc/libgcc-external.bb b/recipes-external/gcc/libgcc-external.bb index 23959cb..2bc1746 100644 --- a/recipes-external/gcc/libgcc-external.bb +++ b/recipes-external/gcc/libgcc-external.bb @@ -19,7 +19,7 @@ INSANE_SKIP_${PN} += "build-deps file-rdeps" # on the target, moreover linker won't be able to find them there (see original libgcc.bb recipe). BINV = "${GCC_VERSION}" FILES_${PN} = "${base_libdir}/libgcc_s.so.*" -LIBROOT_RELATIVE_RESOLVED = "${@os.path.relpath(os.path.realpath('${EXTERNAL_TOOLCHAIN_LIBROOT}'), '${EXTERNAL_TOOLCHAIN_SYSROOT}')}" +LIBROOT_RELATIVE_RESOLVED = "${@os.path.relpath(os.path.realpath('${EXTERNAL_TOOLCHAIN_LIBROOT}'), os.path.realpath('${EXTERNAL_TOOLCHAIN_SYSROOT}'))}" LIBROOT_RELATIVE = "${@os.path.relpath('${EXTERNAL_TOOLCHAIN_LIBROOT}', '${EXTERNAL_TOOLCHAIN_SYSROOT}')}" FILES_${PN}-dev = "${base_libdir}/libgcc_s.so \ /${LIBROOT_RELATIVE_RESOLVED} \