Skip to content

Commit 2db96dc

Browse files
committed
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
1 parent 7d13699 commit 2db96dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ install-shared: install-headers $(SHARED4)
836836

837837
# install static by default + install shared if it exists
838838
install: install-static
839-
[ -e $(SHARED4) ] && $(MAKE) install-shared
839+
[ ! -e $(SHARED4) ] || $(MAKE) install-shared
840840

841841
#-------------------------------------------------
842842

0 commit comments

Comments
 (0)