Fix importing of gst module on GNU/kFreeBSD

This commit is contained in:
Luca Bruno 2010-01-23 12:39:46 +01:00 committed by Sebastian Dröge
parent 589fa05350
commit 5f22436694

View 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