On Sat, 12 Jul 2025 at 20:42, Collin Funk <[email protected]> wrote:

> When building on Windows, for example, from a git checkout one will see
> an error like this:
>
>    x86_64-w64-mingw32-gcc -DLOCALEDIR=\"/usr/local/share/locale\"
> -DHAVE_CONFIG_H -I.  -Ilib -I./lib -Isrc -I./src   -g -O2 -MT src/hello.o
> -MD -MP -MF $depbase.Tpo -c -o src/hello.o src/hello.c &&\
>    mv -f $depbase.Tpo $depbase.Po
>    x86_64-w64-mingw32-gcc  -g -O2   -o hello.exe src/hello.o
> ./lib/libhello.a    -lintl
>    make[2]: *** No rule to make target 'hello', needed by 'hello.1'.  Stop.
>
> This is because hello.1 has a dependency on 'hello', but on this
> platform 'hello.exe' is built.
>
> This patch fixes it by using $(EXEEXT).
>

Many thanks, I've installed the patch.

-- 
https://rrt.sc3d.org

Reply via email to