From ce0b97a8f084001713cf1ca994ea4cb76866d6ad Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 5 Feb 2000 06:40:35 +0000 Subject: [PATCH] Fix up compiling with configured -ldl switch. --- Makefile.in | 3 ++- verilog.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 12975fb82..08b3c5329 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: Makefile.in,v 1.35 2000/01/23 23:54:36 steve Exp $" +#ident "$Id: Makefile.in,v 1.36 2000/02/05 06:40:35 steve Exp $" # # SHELL = /bin/sh @@ -92,6 +92,7 @@ verilog: $(srcdir)/verilog.sh sed -e 's;@$(tmp1)@;@bindir@;' \ -e 's;@$(tmp2)@;@libdir@;' \ -e 's;@$(tmp3)@;@includedir@;' \ + -e 's;@dllib@;@DLLIB@;' \ -e 's;@$(tmp4)@;@CXX@;' < $< > $@ ivl: $O diff --git a/verilog.sh b/verilog.sh index 25a7219e4..4ed0be0de 100644 --- a/verilog.sh +++ b/verilog.sh @@ -116,7 +116,7 @@ case "${target}" in "xnf") mv ${tmpCCFile} ${outputFile} ;; - "vvm") ${execCpp} -rdynamic -I${includedir} -L${libdir} ${tmpCCFile} -o ${outputFile} -lvvm @dlllib@ ; + "vvm") ${execCpp} -rdynamic -I${includedir} -L${libdir} ${tmpCCFile} -o ${outputFile} -lvvm @dllib@ ; if test $? -ne 0 ; then echo "C++ compilation failed. Terminating compilation." rm -f ${tmpCCFile}