[sr-dev] git:master: makefile: libs install-if-newer minor fix
Andrei Pelinescu-Onciul
andrei at iptel.org
Thu Oct 1 13:47:50 CEST 2009
Module: sip-router
Branch: master
Commit: 1b5b2a85d3ca43ff7302dc4f04ea64dc9792b6ee
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b5b2a85d3ca43ff7302dc4f04ea64dc9792b6ee
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Thu Oct 1 13:47:05 2009 +0200
makefile: libs install-if-newer minor fix
- install-if-newer did re-install the library every time
---
Makefile.libs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.libs b/Makefile.libs
index d1f6f3e..21df837 100644
--- a/Makefile.libs
+++ b/Makefile.libs
@@ -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)),)
More information about the sr-dev
mailing list