9613092610
In the current state this package install libyaml-cppd.so due to "d" being added because the variable CMAKE_DEBUG_POSTFIX is not set: https://github.com/jbeder/yaml-cpp/blob/master/CMakeLists.txt#L137 This breaks the build of mongodb which expects the library name libyaml-cpp.so: https://github.com/mongodb/mongo/blob/master/SConstruct#L5090 Fixes: http://autobuild.buildroot.net/results/304/3044d040dec090a2f528a96f201d4e554f6779b4/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
21 lines
579 B
Makefile
21 lines
579 B
Makefile
################################################################################
|
|
#
|
|
# yaml-cpp
|
|
#
|
|
################################################################################
|
|
|
|
YAML_CPP_VERSION = 0.7.0
|
|
YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,yaml-cpp-$(YAML_CPP_VERSION))
|
|
YAML_CPP_INSTALL_STAGING = YES
|
|
YAML_CPP_LICENSE = MIT
|
|
YAML_CPP_LICENSE_FILES = LICENSE
|
|
YAML_CPP_CPE_ID_VENDOR = yaml-cpp_project
|
|
|
|
# Disable testing and parse tools
|
|
YAML_CPP_CONF_OPTS += \
|
|
-DCMAKE_DEBUG_POSTFIX="" \
|
|
-DYAML_CPP_BUILD_TESTS=OFF \
|
|
-DYAML_CPP_BUILD_TOOLS=OFF
|
|
|
|
$(eval $(cmake-package))
|