void-packages/srcpkgs/ngspice/patches/windows-only.patch

16 lines
598 B
Diff

libshlwapi is Windows-only
diff --git src/xspice/cmpp/Makefile.in src/xspice/cmpp/Makefile.in
index b450e8c..2ea8716 100644
--- src/xspice/cmpp/Makefile.in
+++ src/xspice/cmpp/Makefile.in
@@ -753,7 +753,7 @@ ifs_yacc.c : ifs_yacc.y
@CROSS_COMPILING_TRUE@build/cmpp$(BUILD_EXEEXT) : $(BUILD_CMPP_FILES)
@CROSS_COMPILING_TRUE@ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
-@CROSS_COMPILING_TRUE@ $(AM_CPPFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ $^ -lshlwapi
+@CROSS_COMPILING_TRUE@ $(AM_CPPFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ $^
@CROSS_COMPILING_TRUE@distclean-local:
@CROSS_COMPILING_TRUE@ -rm -rf build