dtoolutil: record stdlib (libc++ vs libstdc++) in PandaSystem

This is particularly relevant on macOS, for finding out which stdlib Panda was compiled with.
This commit is contained in:
rdb 2019-10-25 10:21:30 +02:00
parent 6dcaab2d3a
commit 4098f55d70

View File

@ -61,6 +61,12 @@ PandaSystem() :
#else
set_system_tag("system", "malloc", "malloc");
#endif
#ifdef _LIBCPP_VERSION
set_system_tag("system", "stdlib", "libc++");
#elif defined(__GLIBCXX__)
set_system_tag("system", "stdlib", "libstdc++");
#endif
}
/**