diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 610d56e0635f8..935db1dc5f170 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -71,8 +71,8 @@ OBJS= \ all: litecoind.exe -obj/nogui/scrypt.o: scrypt.c - gcc -c -o $@ $^ +obj/scrypt.o: scrypt.c + i586-mingw32msvc-gcc -c -o $@ $^ obj/build.h: FORCE /bin/sh ../share/genbuild.sh obj/build.h diff --git a/src/makefile.mingw b/src/makefile.mingw index 1422c06c11b04..a63a138220a22 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -69,7 +69,7 @@ OBJS= \ all: litecoind.exe -obj/nogui/scrypt.o: scrypt.c +obj/scrypt.o: scrypt.c gcc -c -o $@ $^ obj/%.o: %.cpp $(HEADERS)