package/yaml-cpp: fix library name
PATCH 1/1 package/yaml-cpp: fix library name
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/
--- package/yaml-cpp/yaml-cpp.mk | 1 + 1 file changed, 1 insertion(+)
package/yaml-cpp/yaml-cpp.mk +1 -0
@@ -13,6 +13,7 @@ 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
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 8 lines · On Sun, 16 Jul 2023 18:37:07 +0200 Bernd Kuhls <[email protected]> wrote:
In the current state this package install libyaml-cppd.so due to "d" being added because the variable
CMAKE_DEBUG_POSTFIXis not set:
https://github.com/jbeder/yaml-cpp/blob/master/CMakeLists.txt#L137This breaks the build of mongodb which expects the library name libyaml-cpp.so:
https://github.com/mongodb/mongo/blob/master/SConstruct#L5090
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/304/3044d040dec090a2f528a96f201d4e554f6779b4/Signed-off-by Bernd Kuhls <[email protected]>--- package/yaml-cpp/yaml-cpp.mk | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
In the current state this package install libyaml-cppd.so due to "d" being added because the variable
CMAKE_DEBUG_POSTFIXis not set:
https://github.com/jbeder/yaml-cpp/blob/master/CMakeLists.txt#L137
Quoted 8 lines
This breaks the build of mongodb which expects the library name libyaml-cpp.so:
https://github.com/mongodb/mongo/blob/master/SConstruct#L5090Fixes:
http://autobuild.buildroot.net/results/304/3044d040dec090a2f528a96f201d4e554f6779b4/Signed-off-by Bernd Kuhls <[email protected]>
Committed to 2023.02.x and 2023.05.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot