-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkgsCross.mingwW64.giflib: fix build
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
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
pkgs/development/libraries/giflib/mingw-install-exes.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- 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)" |