summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/pmt/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/python/pmt/__init__.py')
-rw-r--r--gnuradio-runtime/python/pmt/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/pmt/__init__.py b/gnuradio-runtime/python/pmt/__init__.py
index 00940e4cc1..1c7db73322 100644
--- a/gnuradio-runtime/python/pmt/__init__.py
+++ b/gnuradio-runtime/python/pmt/__init__.py
@@ -48,6 +48,9 @@ except ImportError:
__path__.append(os.path.join(dirname, "..", "..", "swig"))
from pmt_swig import *
+# due to changes in the PMT_NIL singleton for static builds, we force
+# this into Python here.
+PMT_NIL = get_PMT_NIL()
+
from pmt_to_python import pmt_to_python as to_python
from pmt_to_python import python_to_pmt as to_pmt
-