mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
e98b64c2e0
This reverts commit a3ad16b9ca
.
14 lines
392 B
Diff
14 lines
392 B
Diff
--- __init__.py.orig 2017-11-02 09:06:48.998054459 +0300
|
|
+++ ./__init__.py 2017-11-02 09:24:28.089072752 +0300
|
|
@@ -1,4 +1,8 @@
|
|
-import sys,DLFCN
|
|
+import sys
|
|
+try:
|
|
+ import DLFCN
|
|
+except ImportError:
|
|
+ import os as DLFCN
|
|
# This is needed to ensure that dynamic_cast and RTTI works inside kdelibs.
|
|
sys.setdlopenflags(DLFCN.RTLD_NOW|DLFCN.RTLD_GLOBAL)
|
|
|
|
\ No newline at end of file
|