aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rocksdb/10-support-busybox-install.patch
blob: 8974dfa9a092579526e25bdb90a54b574a7880bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Makefile
+++ b/Makefile
@@ -996,14 +996,14 @@ install-headers:
 		install -d $(INSTALL_PATH)/$$header_dir; \
 	done
 	for header in `find "include/rocksdb" -type f -name *.h`; do \
-		install -C -m 644 $$header $(INSTALL_PATH)/$$header; \
+		install -c -m 644 $$header $(INSTALL_PATH)/$$header; \
 	done

 install-static: install-headers $(LIBRARY)
-	install -C -m 755 $(LIBRARY) $(INSTALL_PATH)/lib
+	install -c -m 755 $(LIBRARY) $(INSTALL_PATH)/lib

 install-shared: install-headers $(SHARED4)
-	install -C -m 755 $(SHARED4) $(INSTALL_PATH)/lib && \
+	install -c -m 755 $(SHARED4) $(INSTALL_PATH)/lib && \
 		ln -fs $(SHARED4) $(INSTALL_PATH)/lib/$(SHARED3) && \
 		ln -fs $(SHARED4) $(INSTALL_PATH)/lib/$(SHARED2) && \
 		ln -fs $(SHARED4) $(INSTALL_PATH)/lib/$(SHARED1)