From 2db96dca184205a939edc8865d5032e8c6ed137b Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 20 Apr 2015 20:30:04 -0700 Subject: [PATCH] Fix make install when there is no shared lib Summary: make install fails when there is no shared lib. We need to revert the conditions, which will have the same effect, but without the failure Test Plan: make install after only compiling static library Reviewers: meyering Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D37455 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4af714e58..104cdaee8 100644 --- a/Makefile +++ b/Makefile @@ -836,7 +836,7 @@ install-shared: install-headers $(SHARED4) # install static by default + install shared if it exists install: install-static - [ -e $(SHARED4) ] && $(MAKE) install-shared + [ ! -e $(SHARED4) ] || $(MAKE) install-shared #-------------------------------------------------