summaryrefslogtreecommitdiff
path: root/external/libgpg-error/w32-build-fixes-2.patch.1
blob: 5f2a7b92584219db133d794be5ca2cb22b758476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ru libgpg-error.orig/src/Makefile.in libgpg-error/src/Makefile.in
--- libgpg-error.orig/src/Makefile.in	2023-04-06 17:30:13.000000000 +0900
+++ libgpg-error/src/Makefile.in	2023-08-30 14:44:01.102310369 +0900
@@ -1619,7 +1618,7 @@
 
 
 @HAVE_W32_SYSTEM_TRUE@.rc.lo:
-@HAVE_W32_SYSTEM_TRUE@	$(LTRCCOMPILE) -i "$<" -o "$@"
+@HAVE_W32_SYSTEM_TRUE@	$(LTRCCOMPILE) -i $< -o $@
 
 @HAVE_W32_SYSTEM_TRUE@versioninfo.lo : gpg-error.w32-manifest
 
@@ -1660,7 +1659,7 @@
 # It is correct to use $(CPP).  We want the host's idea of the error codes.
 mkerrcodes.h: Makefile mkerrcodes.awk
 	$(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
-	$(CPP) $(CPPFLAGS) -P _$@ | grep GPG_ERR_ | \
+	$(CPP) $(CPPFLAGS) _$@ | grep GPG_ERR_ | \
                $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
 	-rm _$@