summaryrefslogtreecommitdiff
path: root/debian/patches/0043-Do-not-execute-genstrings-during-build.patch
blob: fd8613ceda465d7a99bbe16a1dffb366c72e8970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 71d7d89d8eb1209c261783277d1f0589d096e1d6 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Thu, 15 Sep 2016 07:59:13 +0200
Subject: Do not execute genstrings during build

We cannot run genstrings during build, because it is compiled for the host
architecture. Fortunately, the generated file sample.c is neither processed any
further nor installed. Thus skipping it is ok.

Bug-Debian: https://bugs.debian.org/837936
---
 ppdc/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ppdc/Makefile b/ppdc/Makefile
index 62d23a0eb..6fec8d77d 100644
--- a/ppdc/Makefile
+++ b/ppdc/Makefile
@@ -221,8 +221,6 @@ genstrings:		genstrings.o libcupsppdc.so ../cups/$(LIBCUPSSTATIC) \
 	$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o genstrings genstrings.o \
 		-lcupsppdc ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) \
 		$(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
-	echo Generating localization strings...
-	LD_LIBRARY_PATH=.:../cups/ ./genstrings >sample.c
 
 
 #