From a91723c743ab61c710d5381cdce6de2c0499d531 Mon Sep 17 00:00:00 2001 From: Eero Aaltonen Date: Mon, 15 Apr 2024 14:30:29 +0300 Subject: [PATCH] docopt.cpp: turn boost to a PACKAGECONFIG option docopt.cpp only uses boost regex with the option USE_BOOST_REGEX=ON. When used, boost regex is statically linked. Signed-off-by: Eero Aaltonen Signed-off-by: Khem Raj --- meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb index 3d438871ed..87eed4b656 100644 --- a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb +++ b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb @@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = "\ file://LICENSE-MIT;md5=4b242fd9ef20207e18286d73da8a6677 \ " -DEPENDS = "boost" SRCREV = "42ebcec9dc2c99a1b3a4542787572045763ad196" PV = "0.6.3+git" @@ -24,3 +23,6 @@ SRC_URI = "\ S = "${WORKDIR}/git" inherit cmake + +PACKAGECONFIG ??= "" +PACKAGECONFIG[boost] = "-DUSE_BOOST_REGEX=ON,-DUSE_BOOST_REGEX=OFF,boost"