aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch
blob: 1294fe41b58908cf83ed5ddbdbf770d14da59cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
link rep_snprintf from lib/replace/snprintf.o for ltdbtool

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>

Index: ctdb-2.5.6/Makefile.in
===================================================================
--- ctdb-2.5.6.orig/Makefile.in
+++ ctdb-2.5.6/Makefile.in
@@ -176,7 +176,7 @@ bin/ctdb: $(CTDB_CLIENT_OBJ) tools/ctdb.
 	@echo Linking $@
 	$(WRAPPER) $(CC) $(CFLAGS) -o $@ tools/ctdb.o tools/ctdb_vacuum.o $(CTDB_CLIENT_OBJ) $(LIB_FLAGS)
 
-bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ)
+bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) lib/replace/snprintf.o
 	@echo Linking $@
 	$(WRAPPER) $(CC) $(CFLAGS) -o $@ $+ $(LIB_FLAGS)