# HG changeset patch # User Michael Goffioul # Date 1319578555 -3600 # Node ID be7ff59cbc7a466b3004737534c48d38214caa46 # Parent 62d1f56b0be7fbc79ba44ad1a5dae12c801155b6 Fix octinterp DLL searching on Win32. * sysdep.cc (w32_set_octave_home): Also search for liboctinterp-0.dll. diff --git a/src/sysdep.cc b/src/sysdep.cc --- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -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)