changeset 13751:be7ff59cbc7a

Fix octinterp DLL searching on Win32. * sysdep.cc (w32_set_octave_home): Also search for liboctinterp-0.dll.
author Michael Goffioul <michael.goffioul@gmail.com>
date Tue, 25 Oct 2011 22:35:55 +0100
parents 62d1f56b0be7
children 6f068e3f3f9c
files src/sysdep.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.cc	Tue Oct 25 09:46:38 2011 -0700
+++ b/src/sysdep.cc	Tue Oct 25 22:35:55 2011 +0100
@@ -111,6 +111,9 @@
   while (true)
     {
       HMODULE hMod = GetModuleHandle ("octinterp");
+      if (! hMod)
+        hMod = GetModuleHandle ("liboctinterp-0");
+
       int status = GetModuleFileName (hMod, &bin_dir[0], n);
 
       if (status < n)