From 15689210c137c23107c96f63ddcdfb0d72076aae Mon Sep 17 00:00:00 2001 From: Cary R Date: Sun, 12 Jul 2026 17:32:36 -0700 Subject: [PATCH] Fix the building of libvvp.pc --- vvp/Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vvp/Makefile.in b/vvp/Makefile.in index 9b7f0013f..32a6aa0a5 100644 --- a/vvp/Makefile.in +++ b/vvp/Makefile.in @@ -178,7 +178,7 @@ VVP_POSTBUILD = ln -sf vvp@EXEEXT@ vvp$(suffix)@EXEEXT@ VVP_CLEAN += vvp$(suffix)@EXEEXT@ endif -all: dep vvp@EXEEXT@ vvp.man +all: dep vvp@EXEEXT@ libvvp.pc vvp.man # ENV_VVP sets LD_LIBRARY_PATH by default to run vvp from the build tree check: all @@ -221,6 +221,10 @@ vvp@EXEEXT@: $(VVP_OBJ) $(VVP_DEPS) $(CXX) $(LDFLAGS) -o $@ $(VVP_OBJ) -L. $(VVP_LDFLAGS) $(LIBS) $(VVP_POSTBUILD) +libvvp.pc: $(srcdir)/libvvp.pc.in ../config.status + cd ..; ./config.status --file=vvp/$@ + + %.o: %.cc config.h | dep $(CXX) $(CPPFLAGS) -DIVL_SUFFIX='"$(suffix)"' $(MDIR1) $(MDIR2) $(CXXFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o mv $*.d dep/$*.d