Fix Bug #772 - "ngspice + icarus verilog cosim: searches for ivlng.so

in /usr/local/lib/ngspice ...".
Use the configured library directory, NGSPICELIBDIR.
This commit is contained in:
Giles Atkinson 2025-04-11 08:59:25 +01:00 committed by Holger Vogt
parent 78908b8543
commit 4881b29730
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@
* an Icarus Verilog simulation (libvvp.so).
* Licensed on the same terms as Ngspice.
*
* Copyright (c) 2024 Giles Atkinson
* Copyright (c) 2024-2025 Giles Atkinson
*/
#include <stdio.h>
@ -18,6 +18,7 @@
#include "coroutine_shim.h"
#include "ngspice/config.h" // For NGSPICELIBDIR
#include "ngspice/cmtypes.h" // For Digital_t
#include "ngspice/cosim.h"