Fix importing of gst module on GNU/kFreeBSD
authorLuca Bruno <lucab@debian.org>
Sat, 23 Jan 2010 11:39:46 +0000 (12:39 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 23 Jan 2010 11:39:46 +0000 (12:39 +0100)
gst/__init__.py

index f29ede2..2521dcc 100644 (file)
@@ -166,7 +166,7 @@ except ImportError:
     RTLD_LAZY = -1
     import os
     osname = os.uname()[0]
-    if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD':
+    if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD' or osname == 'GNU/kFreeBSD':
         machinename = os.uname()[4]
         if machinename == 'mips' or machinename == 'mips64':
             RTLD_GLOBAL = 0x4