Browse Source

enable MINGW linking to -lShlwapi,

which failed during making 32 bit shared lib
pre-master-46
Holger Vogt 6 years ago
parent
commit
c076c932b4
  1. 7
      src/Makefile.am
  2. 4
      src/xspice/cmpp/Makefile.am

7
src/Makefile.am

@ -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

4
src/xspice/cmpp/Makefile.am

@ -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 $@ $<

Loading…
Cancel
Save