Fix MinGW suffix configuration.
In the driver-vpi file we need to use g for the suffix replacement so that both libraries get changed. Also added an end line to the config.h.in file.
This commit is contained in:
parent
4bc90f7cfd
commit
a8a8d3ce5b
|
|
@ -69,7 +69,7 @@ main.o: main.c config.h
|
||||||
|
|
||||||
config.h: config.h.in
|
config.h: config.h.in
|
||||||
sed -e 's;@IVLCC@;@CC@;' -e 's;@IVLCXX@;@CXX@;' \
|
sed -e 's;@IVLCC@;@CC@;' -e 's;@IVLCXX@;@CXX@;' \
|
||||||
-e 's;@SUFFIX@;$(suffix);' \
|
-e 's;@SUFFIX@;$(suffix);g' \
|
||||||
-e 's;@IVLCFLAGS@;@CXXFLAGS@;' \
|
-e 's;@IVLCFLAGS@;@CXXFLAGS@;' \
|
||||||
-e 's;@SHARED@;@shared@;' $< > $@
|
-e 's;@SHARED@;@shared@;' $< > $@
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@
|
||||||
#define IVERILOG_VPI_CFLAGS " @IVLCFLAGS@"
|
#define IVERILOG_VPI_CFLAGS " @IVLCFLAGS@"
|
||||||
#define IVERILOG_VPI_LDFLAGS "@SHARED@"
|
#define IVERILOG_VPI_LDFLAGS "@SHARED@"
|
||||||
#define IVERILOG_VPI_LDLIBS "-lveriuser@SUFFIX@ -lvpi@SUFFIX@"
|
#define IVERILOG_VPI_LDLIBS "-lveriuser@SUFFIX@ -lvpi@SUFFIX@"
|
||||||
#define IVERILOG_SUFFIX "@SUFFIX@"
|
#define IVERILOG_SUFFIX "@SUFFIX@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue