Commit 25f7e33a authored by André Anjos's avatar André Anjos 💬

Merge branch '6-version-relies-on-compiler-command-line-parameter' into 'master'

Resolve "version relies on compiler command line parameter"

Closes #6

See merge request !7
parents c3130ab0 54f111da
Pipeline #20993 passed with stages
in 25 minutes and 34 seconds
......@@ -30,9 +30,7 @@ static PyObject* py_sox_version() {
if (!retval) return 0;
auto retval_ = make_safe(retval);
# if defined(SOX_VERSION)
if (std::strlen(SOX_VERSION) && !dict_set(retval, "sox", SOX_VERSION)) return 0;
# endif
if (!dict_set(retval, "sox", sox_version_info()->version)) return 0;
return Py_BuildValue("O", retval);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment