aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/python/libghdl/__init__.py
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-20 18:16:03 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-20 18:16:03 +0200
commitb861073629c6c86c9095df98e35d78281ef9fa84 (patch)
tree4cc6163179960aa59bbdc3419ae041a46c31067d /src/vhdl/python/libghdl/__init__.py
parent150116d2a2fe91f5d27b7fca1a19228ee5209c5a (diff)
downloadghdl-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__.py9
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