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__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/python/libghdl/__init__.py b/src/vhdl/python/libghdl/__init__.py
index 63a34b23c..457d6f2bd 100644
--- a/src/vhdl/python/libghdl/__init__.py
+++ b/src/vhdl/python/libghdl/__init__.py
@@ -9,7 +9,7 @@ _ext = {'linux': '.so',
'cygwin': '.dll'}
# Load the DLL.
-_basedir = os.path.join(os.path.dirname(__file__), '..')
+_basedir = os.path.dirname(__file__)
libghdl = ctypes.CDLL(os.path.join(
_basedir, 'libghdl' + _ext.get(sys.platform, '.so')))