mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 07:26:33 +00:00
Fix importing of gst module on GNU/kFreeBSD
This commit is contained in:
parent
589fa05350
commit
5f22436694
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ except ImportError:
|
||||||
RTLD_LAZY = -1
|
RTLD_LAZY = -1
|
||||||
import os
|
import os
|
||||||
osname = os.uname()[0]
|
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]
|
machinename = os.uname()[4]
|
||||||
if machinename == 'mips' or machinename == 'mips64':
|
if machinename == 'mips' or machinename == 'mips64':
|
||||||
RTLD_GLOBAL = 0x4
|
RTLD_GLOBAL = 0x4
|
||||||
|
|
Loading…
Reference in a new issue