Fixed the scripts to avoid the warnings on non-windows systems arising from linking with an empty library. Patch from Steven Borley.
This commit is contained in:
parent
f3b74b9afa
commit
09c9d68a5f
|
|
@ -373,11 +373,14 @@ dnl redefine the path for WINDOWS:
|
||||||
AC_DEFINE_UNQUOTED(NGSPICEBINDIR, "`echo /spice_win/bin`" )
|
AC_DEFINE_UNQUOTED(NGSPICEBINDIR, "`echo /spice_win/bin`" )
|
||||||
AC_DEFINE_UNQUOTED(NGSPICEDATADIR, "`echo /spice_win/lib`" )
|
AC_DEFINE_UNQUOTED(NGSPICEDATADIR, "`echo /spice_win/lib`" )
|
||||||
WINMAIN="winmain.o"
|
WINMAIN="winmain.o"
|
||||||
|
WINDISPLIB="frontend/wdisp/libwindisp.a"
|
||||||
else
|
else
|
||||||
WINMAIN=""
|
WINMAIN=""
|
||||||
|
WINDISPLIB=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(WINMAIN)
|
AC_SUBST(WINMAIN)
|
||||||
|
AC_SUBST(WINDISPLIB)
|
||||||
|
|
||||||
|
|
||||||
# Recapitulate settings:
|
# Recapitulate settings:
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ ngspice_LDADD = \
|
||||||
@WINMAIN@ \
|
@WINMAIN@ \
|
||||||
spice.o \
|
spice.o \
|
||||||
frontend/libfte.a \
|
frontend/libfte.a \
|
||||||
frontend/wdisp/libwindisp.a \
|
@WINDISPLIB@ \
|
||||||
frontend/plotting/libplotting.a \
|
frontend/plotting/libplotting.a \
|
||||||
@XSPICELIB1@ \
|
@XSPICELIB1@ \
|
||||||
spicelib/devices/dev.o \
|
spicelib/devices/dev.o \
|
||||||
|
|
@ -120,7 +120,7 @@ ngnutmeg_SOURCES = \
|
||||||
ngnutmeg_LDADD = \
|
ngnutmeg_LDADD = \
|
||||||
@WINMAIN@ \
|
@WINMAIN@ \
|
||||||
frontend/libfte.a \
|
frontend/libfte.a \
|
||||||
frontend/wdisp/libwindisp.a \
|
@WINDISPLIB@ \
|
||||||
frontend/plotting/libplotting.a \
|
frontend/plotting/libplotting.a \
|
||||||
frontend/parser/libparser.a \
|
frontend/parser/libparser.a \
|
||||||
@NUMPARAMLIB@ \
|
@NUMPARAMLIB@ \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue