abseil-cpp: A little clean-up

* Remove ASNEEDED:class-native and ASNEEDED:class-nativesdk as they make
  no difference since ${ASNEEDED} is only added to TARGET_LDFLAGS.
* Remove additions to FILES:${PN}-dev since the added paths are already
  added by default.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Kjellerstedt
2024-03-11 14:03:21 +01:00
committed by Khem Raj
parent a44ba09d6d
commit 0182848ca4
@@ -1,7 +1,7 @@
SUMMARY = "Abseil is a cpp library like STL" SUMMARY = "Abseil is a cpp library like STL"
DESCRIPTION = "Abseil provides pieces missing from the C++ standard. Contains \ DESCRIPTION = "Abseil provides pieces missing from the C++ standard. Contains \
additional useful libraries like algorithm, container, debugging, hash, memory, \ additional useful libraries like algorithm, container, debugging, hash, memory, \
meta, numeric, strings, synchronization, time, types and utility" meta, numeric, strings, synchronization, time, types and utility."
HOMEPAGE = "https://abseil.io/" HOMEPAGE = "https://abseil.io/"
SECTION = "libs" SECTION = "libs"
LICENSE = "Apache-2.0" LICENSE = "Apache-2.0"
@@ -18,9 +18,6 @@ SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
ASNEEDED:class-native = ""
ASNEEDED:class-nativesdk = ""
inherit cmake inherit cmake
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
@@ -28,8 +25,6 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
-DABSL_ENABLE_INSTALL=ON \ -DABSL_ENABLE_INSTALL=ON \
" "
BBCLASSEXTEND = "native nativesdk"
SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}" SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
FILES:${PN}-dev += "${includedir} ${libdir}/cmake ${libdir}/pkgconfig" BBCLASSEXTEND = "native nativesdk"