mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/mongo-c-driver: fix USE=-static-libs
Closes: https://bugs.gentoo.org/953521 Signed-off-by: Robert Förster <Dessa@gmake.de> Part-of: https://github.com/gentoo/gentoo/pull/44242 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
4a398ebcd9
commit
1486041d17
@@ -64,6 +64,9 @@ src_prepare() {
|
||||
sed -i '/message (STATUS "disabling test-libmongoc since using system libbson")/{d}' CMakeLists.txt || die
|
||||
sed -i '/SET (ENABLE_TESTS OFF)/{d}' CMakeLists.txt || die
|
||||
sed -i 's#<bson/bson-private.h>#"bson/bson-private.h"#' src/libbson/tests/test-bson.c || die
|
||||
|
||||
# bug 953521
|
||||
sed -i 's/message (FATAL_ERROR "System libbson built without static library target")/message (STATUS "System libbson built without static library target")/' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user