aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/fix-parallel-build.patch
blob: 77722b064d1386101ae891615068e9e55ac554fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pptp.c and version.c depend on config.h

Upstream-Status: Backport

Upstream has already similar fixes. Will be available on next release.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>

--- a/Makefile	2013-02-27 17:09:24.431226665 +0800
+++ b/Makefile	2013-02-27 17:09:03.442075550 +0800
@@ -43,6 +43,8 @@
 pptpsetup.8: pptpsetup
 	pod2man $? > $@
 
+pptp.o version.o: config.h
+
 config.h: 
 	echo "/* text added by Makefile target config.h */" > config.h
 	echo "#define PPTP_LINUX_VERSION \"$(VERSION)$(RELEASE)\"" >> config.h