mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
007173a9db
It was failing with: x86_64-w64-mingw32-ld: qprintf.o:qprintf.c:(.text+0xb9): undefined reference to `GifErrorString' and then install gif2rgb gifbuild giffix giftext giftool gifclrmp "/nix/store/vcik0mlp8756g2lpmzbjw3v8mhn1529i-giflib-x86_64-w64-mingw32-5.2.1/bin" install: cannot stat 'gif2rgb': No such file or directory
12 lines
373 B
Diff
12 lines
373 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -92,7 +92,7 @@
|
|
install: all install-bin install-include install-lib install-man
|
|
install-bin: $(INSTALLABLE)
|
|
$(INSTALL) -d "$(DESTDIR)$(BINDIR)"
|
|
- $(INSTALL) $^ "$(DESTDIR)$(BINDIR)"
|
|
+ $(INSTALL) $(^:=.exe) "$(DESTDIR)$(BINDIR)"
|
|
install-include:
|
|
$(INSTALL) -d "$(DESTDIR)$(INCDIR)"
|
|
$(INSTALL) -m 644 gif_lib.h "$(DESTDIR)$(INCDIR)"
|