Index: src/version.cc |
diff --git a/src/version.cc b/src/version.cc |
index 3252d550354ee833f5d311e4e3fbca285a6b003b..18497bc48d78b89153285e5ba7466358a6062356 100644 |
--- a/src/version.cc |
+++ b/src/version.cc |
@@ -20,6 +20,7 @@ int Version::major_ = V8_MAJOR_VERSION; |
int Version::minor_ = V8_MINOR_VERSION; |
int Version::build_ = V8_BUILD_NUMBER; |
int Version::patch_ = V8_PATCH_LEVEL; |
+const char* Version::embedder_ = V8_EMBEDDER_STRING; |
bool Version::candidate_ = (V8_IS_CANDIDATE_VERSION != 0); |
const char* Version::soname_ = SONAME; |
const char* Version::version_string_ = V8_VERSION_STRING; |
@@ -33,9 +34,8 @@ void Version::GetString(Vector<char> str) { |
const char* is_simulator = ""; |
#endif // USE_SIMULATOR |
if (GetPatch() > 0) { |
- SNPrintF(str, "%d.%d.%d.%d%s%s", |
- GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate, |
- is_simulator); |
+ SNPrintF(str, "%d.%d.%d.%d%s%s%s", GetMajor(), GetMinor(), GetBuild(), |
+ GetPatch(), GetEmbedder(), candidate, is_simulator); |
} else { |
SNPrintF(str, "%d.%d.%d%s%s", |
GetMajor(), GetMinor(), GetBuild(), candidate, |
@@ -50,8 +50,8 @@ void Version::GetSONAME(Vector<char> str) { |
// Generate generic SONAME if no specific SONAME is defined. |
const char* candidate = IsCandidate() ? "-candidate" : ""; |
if (GetPatch() > 0) { |
- SNPrintF(str, "libv8-%d.%d.%d.%d%s.so", |
- GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate); |
+ SNPrintF(str, "libv8-%d.%d.%d.%d%s%s.so", GetMajor(), GetMinor(), |
+ GetBuild(), GetPatch(), GetEmbedder(), candidate); |
} else { |
SNPrintF(str, "libv8-%d.%d.%d%s.so", |
GetMajor(), GetMinor(), GetBuild(), candidate); |