diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-10-23 18:23:05 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-10-23 18:23:05 +0200 |
commit | 09a8b72257bc6f33fd2ee89c3418d8bcee6e05e6 (patch) | |
tree | 89d788b7f66d284860b5ff631f07b71ac520f2a4 /src/vhdl/python/libghdl/__init__.py | |
parent | f16c8e7239d43f466a5f79bdff59824d2b037310 (diff) | |
download | ghdl-09a8b72257bc6f33fd2ee89c3418d8bcee6e05e6.tar.gz ghdl-09a8b72257bc6f33fd2ee89c3418d8bcee6e05e6.tar.bz2 ghdl-09a8b72257bc6f33fd2ee89c3418d8bcee6e05e6.zip |
python: supports python3, add more interfaces.
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)) |