diff options
Diffstat (limited to 'src/vhdl/python/libghdl/__init__.py')
-rw-r--r-- | src/vhdl/python/libghdl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/python/libghdl/__init__.py b/src/vhdl/python/libghdl/__init__.py index d09b70cbd..63a34b23c 100644 --- a/src/vhdl/python/libghdl/__init__.py +++ b/src/vhdl/python/libghdl/__init__.py @@ -18,6 +18,6 @@ libghdl.libghdl_init() # Set the default prefix. _prefix = os.path.join(_basedir, "ghdl") -_prefix_opt = "--PREFIX=" + _prefix +_prefix_opt = ("--PREFIX=" + _prefix).encode('utf-8') libghdl.libghdl__set_option( ctypes.c_char_p(_prefix_opt), len(_prefix_opt)) |