diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 403d9a2e..bb161cba 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -27,7 +27,7 @@ sr_libs = subprocess.check_output( ["pkg-config", "--libs", "libsigrok"]).rstrip().split(' ') sr_version = subprocess.check_output( - ["pkg-config", "--version", "libsigrok"]).rstrip() + ["pkg-config", "--modversion", "libsigrok"]).rstrip() setup( name = 'libsigrok',