diff options
Diffstat (limited to 'meta-oe/recipes-support/gperftools')
-rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb index c8b91278da..c48a98183d 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb @@ -28,3 +28,11 @@ COMPATIBLE_HOST_mipsarch_libc-glibc = "null" ARM_INSTRUCTION_SET_armv5 = "arm" ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm" +# Ensure static libs are always enabled, as they seem to be not produced by +# default at least on ARM. +EXTRA_OECONF_append += " --enable-static" + +PACKAGE_BEFORE_PN += "libtcmalloc-minimal" +FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}" +RDEPENDS_${PN} += "libtcmalloc-minimal (= ${EXTENDPKGV})" + |