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