linux-pam: add optional libselinux and audit dependencies
[buildroot-gz.git] / package / pptp-linux / 0002-fix-parallel-build.patch
blob04a797743fae9074d4a778ab2b4ba43eef0d3543
1 Fix parallel build issue
3 The config.h header file must be created before being used to build
4 source files that include it, especially version.c. In order for this
5 to happen even in highly-parallel builds, we add a dependency of all
6 object files on config.h, in order to ensure it gets generated before
7 make attempts to build the object files.
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 Index: b/Makefile
12 ===================================================================
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -37,6 +37,8 @@
17 all: config.h $(PPTP_BIN) pptpsetup.8
19 +$(PPTP_OBJS): config.h
21 $(PPTP_BIN): $(PPTP_OBJS) $(PPTP_DEPS)
22 $(CC) -o $(PPTP_BIN) $(PPTP_OBJS) $(LDFLAGS) $(LIBS)