python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / quota / 0002-fix-static-linking.patch
blobfd73f64eb65f2c413eb4e731b035ae4da66a86d5
1 Use $(LIBS) properly
3 This patch makes sure the quota build system uses $(LIBS) where
4 appropriate, so that it can be used to link with additional libraries,
5 which is needed when linking statically.
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 Index: b/Makefile.in
10 ===================================================================
11 --- a/Makefile.in
12 +++ b/Makefile.in
13 @@ -105,30 +105,40 @@
14 -$(INSTALL) -m $(DEF_MAN_MODE) *.8 $(ROOTDIR)$(mandir)/man8
16 quotaon: quotaon.o quotaon_xfs.o $(LIBOBJS)
17 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
19 quotacheck: quotacheck.o quotacheck_v1.o quotacheck_v2.o quotaops.o $(LIBOBJS)
20 - $(CC) $(LDFLAGS) -o $@ $^ $(EXT2LIBS)
21 + $(CC) $(LDFLAGS) -o $@ $^ $(EXT2LIBS) $(LIBS)
23 quota: quota.o quotaops.o $(LIBOBJS)
24 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
26 quotasync: quotasync.o $(LIBOBJS)
27 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
29 quot: quot.o $(LIBOBJS)
30 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
32 repquota: repquota.o $(LIBOBJS)
33 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
35 warnquota: warnquota.o $(LIBOBJS)
36 - $(CC) $(LDFLAGS) -o $@ $^ $(LDAPLIBS)
37 + $(CC) $(LDFLAGS) -o $@ $^ $(LDAPLIBS) $(LIBS)
39 quotastats: quotastats.o common.o pot.o
40 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
42 xqmstats: xqmstats.o common.o pot.o
43 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
45 edquota: edquota.o quotaops.o $(LIBOBJS)
46 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
48 setquota: setquota.o quotaops.o $(LIBOBJS)
49 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
51 convertquota: convertquota.o $(LIBOBJS)
52 + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
54 rpc.rquotad: rquota_server.o rquota_svc.o svc_socket.o $(LIBOBJS)
55 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)