1From 193c8d8c55a3478ca5c9e161ce581e5794098c6d Mon Sep 17 00:00:00 2001 2From: Olivier Schonken <olivier.schonken@gmail.com> 3Date: Thu, 21 Jan 2016 23:04:49 +0100 4Subject: [PATCH] Do not use genstrings 5 6Using cross compiled genstrings while cross-compiling will break 7compilation. Genstrings is still compiled because some power users 8might want to do ppd compilation on their target machine, and for that 9they would need to use the native compiled genstrings binary, to 10generate a sample.c file for their target 11 12Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> 13[Thomas: completely remove call to genstrings rather than commenting 14it, remove useless and potentially confusing 'echo' before the 15genstrings call.] 16Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 17[Fabrice: updated for 2.3.0] 18Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 19[Michael: updated for 2.3.3] 20Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> 21--- 22 ppdc/Makefile | 2 -- 23 1 file changed, 2 deletions(-) 24 25diff --git a/ppdc/Makefile b/ppdc/Makefile 26index 32e2e0b..7b18879 100644 27--- a/ppdc/Makefile 28+++ b/ppdc/Makefile 29@@ -186,8 +186,6 @@ genstrings: genstrings.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) \ 30 $(LD_CXX) $(ARCHFLAGS) $(ALL_LDFLAGS) -o genstrings genstrings.o \ 31 libcupsppdc.a $(LINKCUPSSTATIC) 32 $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ 33- echo Generating localization strings... 34- ./genstrings >sample.c 35 36 37 # 38-- 392.17.1 40 41