mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
Fix import on GNU/Hurd
This commit is contained in:
parent
e6db25a448
commit
df44e7b426
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' or osname == 'GNU/kFreeBSD':
|
if osname == 'Linux' or osname == 'SunOS' or osname == 'FreeBSD' or osname == 'GNU/kFreeBSD' or osname == 'GNU':
|
||||||
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