mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Make sure lib-directory exists before copying files on install
This commit is contained in:
2
Makefile
2
Makefile
@@ -170,6 +170,7 @@ $(objdir)/%.o: $(srcdir)/%.cpp
|
||||
ifeq ($(SHARED),1)
|
||||
install: banner install_headers $(lib_target)
|
||||
@echo "Install shared library"
|
||||
mkdir -p $(inst_path)
|
||||
cp -f ./$(lib_target) $(inst_path)
|
||||
cd $(inst_path) ; \
|
||||
ln -sf $(lib_target) $(libname_shared_major_version) ; \
|
||||
@@ -181,6 +182,7 @@ install: banner install_headers $(lib_target)
|
||||
else
|
||||
install: banner install_headers $(lib_target)
|
||||
@echo "Install static library"
|
||||
mkdir -p $(inst_path)
|
||||
cp -f ./$(lib_target) $(inst_path)
|
||||
@echo "Install static library: Done."
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user