aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/python/libghdl/__init__.py
diff options
context:
space:
mode:
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