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:
parent
2868bca35b
commit
942719b46c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue