]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/ir_irmp/irmp_library.py
irmp: add 'Darwin' case for DLL filename lookup
[libsigrokdecode.git] / decoders / ir_irmp / irmp_library.py
index 3bd9048e136ddc425125621cebbf6a5531a05fbb..22a74b0b3f398478e26cd855f073aabc8de00224 100644 (file)
@@ -49,7 +49,8 @@ class IrmpLibrary:
 
         if platform.uname()[0] == 'Linux':
             return 'libirmp.so'
-        # TODO Add support for more platforms.
+        if platform.uname()[0] == 'Darwin':
+            return 'libirmp.dylib'
         return 'irmp.dll'
 
     def __init__(self):