diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-05-20 18:16:03 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-05-20 18:16:03 +0200 |
commit | b861073629c6c86c9095df98e35d78281ef9fa84 (patch) | |
tree | 4cc6163179960aa59bbdc3419ae041a46c31067d /src/vhdl/python/libghdl/__init__.py | |
parent | 150116d2a2fe91f5d27b7fca1a19228ee5209c5a (diff) | |
download | ghdl-b861073629c6c86c9095df98e35d78281ef9fa84.tar.gz ghdl-b861073629c6c86c9095df98e35d78281ef9fa84.tar.bz2 ghdl-b861073629c6c86c9095df98e35d78281ef9fa84.zip |
libghdl: fix various issues.
Diffstat (limited to 'src/vhdl/python/libghdl/__init__.py')
-rw-r--r-- | src/vhdl/python/libghdl/__init__.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vhdl/python/libghdl/__init__.py b/src/vhdl/python/libghdl/__init__.py index 6589aec3f..9bae63a8e 100644 --- a/src/vhdl/python/libghdl/__init__.py +++ b/src/vhdl/python/libghdl/__init__.py @@ -10,10 +10,11 @@ libghdl = ctypes.CDLL(os.path.join(_basedir, libghdl_filename)) libghdl.libghdl_init() # Set the default prefix. -_prefix = os.path.join(_basedir, "ghdl") -_prefix_opt = ("--PREFIX=" + _prefix).encode('utf-8') -libghdl.libghdl__set_option( - ctypes.c_char_p(_prefix_opt), len(_prefix_opt)) +if False: + _prefix = os.path.join(_basedir, "ghdl") + _prefix_opt = ("--PREFIX=" + _prefix).encode('utf-8') + libghdl.libghdl__set_option( + ctypes.c_char_p(_prefix_opt), len(_prefix_opt)) # libghdl |