From 7964f2013ee8619a657a3615dbfedc35c42af52f Mon Sep 17 00:00:00 2001 From: Serge Semin Date: Sat, 7 Apr 2018 01:51:59 +0500 Subject: [PATCH] libgfortran-external: don't package the static lib and headers Signed-off-by: Christopher Larson --- recipes-external/gcc/libgfortran-external.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-external/gcc/libgfortran-external.bb b/recipes-external/gcc/libgfortran-external.bb index 1d8bae7..966ddda 100644 --- a/recipes-external/gcc/libgfortran-external.bb +++ b/recipes-external/gcc/libgfortran-external.bb @@ -13,13 +13,14 @@ FILES_MIRRORS =. "${libdir}/gcc/${TARGET_SYS}/${GCC_VERSION}/|${external_libroot EXTERNAL_PROVIDE_PATTERN = "${FILES_${PN}}" +# We don't copy the static binaries and headers, since they don't belong to the +# target sysroot, but need to be in the native one (that's the place where compiler +# and linker are looking for them). FILES_${PN} = "${libdir}/libgfortran.so.*" FILES_${PN}-dev = "\ ${libdir}/libgfortran*.so \ ${libdir}/libgfortran.spec \ ${libdir}/libgfortran.la \ - ${libdir}/gcc/${TARGET_SYS}/${GCC_VERSION}/libgfortranbegin.* \ - ${libdir}/gcc/${TARGET_SYS}/${GCC_VERSION}/libcaf_single* \ " FILES_${PN}-staticdev = "${libdir}/libgfortran.a"