Don't reference SR_PACKAGE_VERSION_STRING directly in backend.c.

Reporting build versus runtime versions makes sense for a client,
but not inside the library itself.
This commit is contained in:
Martin Ling 2018-09-20 21:12:28 +01:00 committed by Gerhard Sittig
parent 2868bca35b
commit 942719b46c
1 changed files with 1 additions and 2 deletions

View File

@ -232,8 +232,7 @@ static void print_versions(void)
char *str;
const char *lib, *version;
sr_dbg("libsigrok %s/%s (rt: %s/%s).",
SR_PACKAGE_VERSION_STRING, SR_LIB_VERSION_STRING,
sr_dbg("libsigrok %s/%s.",
sr_package_version_string_get(), sr_lib_version_string_get());
s = g_string_sized_new(200);