From 24425315f8b1e03c3e4b4e8563f90c17f4f9ec03 Mon Sep 17 00:00:00 2001 From: Giles Atkinson <“gatk555@gmail.com”> Date: Tue, 7 Jan 2025 13:41:33 +0000 Subject: [PATCH] =?UTF-8?q?Allow=20out-of-tree=20builds.=20=20Problem=20re?= =?UTF-8?q?ported=20by=20Carsten=20Sch=C3=B6nert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/xspice/verilog/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xspice/verilog/Makefile.am b/src/xspice/verilog/Makefile.am index cd7674934..262d63384 100644 --- a/src/xspice/verilog/Makefile.am +++ b/src/xspice/verilog/Makefile.am @@ -19,11 +19,11 @@ initdata2_DATA = ../../include/ngspice/cosim.h \ pkglib_LTLIBRARIES = ivlng.la ivlngvpi.la ivlng_la_SOURCES = icarus_shim.c icarus_shim.h coroutine_shim.h -ivlng_la_CFLAGS = -I../../../../src/include +ivlng_la_CFLAGS = -I$(top_srcdir)/src/include ivlng_la_LDFLAGS = -module -shared -avoid-version ivlngvpi_la_SOURCES = vpi.c icarus_shim.h vpi_user_dummy.h coroutine.h coroutine_cosim.h -ivlngvpi_la_CFLAGS = -I../../../../src/include +ivlngvpi_la_CFLAGS = -I$(top_srcdir)/src/include ivlngvpi_la_LDFLAGS = -module -shared -avoid-version # On Windows, symbols in DLLs must be fully resolved.