makefile: libs install-if-newer minor fix
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 1 Oct 2009 11:47:05 +0000 (13:47 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 1 Oct 2009 11:47:05 +0000 (13:47 +0200)
- install-if-newer did re-install the library every time

Makefile.libs

index d1f6f3e..21df837 100644 (file)
@@ -152,9 +152,10 @@ endif
 
 
 .PHONY:install-if-newer
-install-if-newer: $(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME) 
+install-if-newer: $(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME)
 
-$(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME): $(LIB_NAME) $(LIBINAME_F) install
+$(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME): $(LIB_NAME) $(LIBINAME_F)
+       @$(MAKE) install
 
 
 ifneq ($(strip $(LIBINAME_F)),)