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-05-24 11:29:38 +02:00
committed by Holger Vogt
parent 35ae1ece8c
commit d6f3267bf6
+2 -1
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"