From 5c8e463107ae8ebfb16b4ba4732ef18e78d853ef Mon Sep 17 00:00:00 2001
From: Giovanni Bussi <giovanni.bussi@gmail.com>
Date: Tue, 5 Jun 2018 17:40:07 +0200
Subject: [PATCH] small fix

./configure --disable-shared was giving an error upon install
due to a missing file
---
 src/lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/Makefile b/src/lib/Makefile
index 7b1269272..eccafc0d2 100644
--- a/src/lib/Makefile
+++ b/src/lib/Makefile
@@ -247,10 +247,10 @@ ifeq ($(SOEXT),dylib)
 	install_name_tool -id "$(libdir)/lib$(program_name).$(SOEXT)" "$(DESTDIR)$(libdir)/lib$(program_name).$(SOEXT)"
 	install_name_tool -id "$(libdir)/lib$(program_name)Kernel.$(SOEXT)" "$(DESTDIR)$(libdir)/lib$(program_name)Kernel.$(SOEXT)"
 endif
-endif
 ifdef AR_CR
 	cp install/libplumedWrapper.a "$(DESTDIR)$(libdir)/lib$(program_name)Wrapper.a"
 endif
+endif
 # modulefile
 	cp install/modulefile "$(DESTDIR)$(libdir)/$(program_name)/modulefile"
 # pkgconfig files
-- 
GitLab