enable MINGW linking to -lShlwapi,

which failed during making 32 bit shared lib
This commit is contained in:
Holger Vogt 2020-03-29 16:07:32 +02:00
parent 3994f9de1a
commit c076c932b4
2 changed files with 7 additions and 4 deletions

View File

@ -349,10 +349,9 @@ if WINCONSOLE
LIBS += -lpsapi -lShlwapi
endif
## FIXME: Should be allwed, but fails within MSYS2
#if SHWIN
#LIBS += -lpsapi -lShlwapi
#endif
if SHWIN
LIBS += -lpsapi -lShlwapi
endif
CLEANFILES = ngspice.idx spinit tclspinit pkgIndex.tcl

View File

@ -24,6 +24,10 @@ if WINCONSOLE
cmpp_LDADD = -lShlwapi
endif
if SHWIN
cmpp_LDADD = -lShlwapi
endif
mod_lex.c : mod_lex.l
$(am__skiplex) $(LEXCOMPILE) -o $@ $<