summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE/bin/MakeProjectCreator/templates/gnu.mpd9
1 files changed, 9 insertions, 0 deletions
diff --git a/ACE/bin/MakeProjectCreator/templates/gnu.mpd b/ACE/bin/MakeProjectCreator/templates/gnu.mpd
index 66973626af1..257e39c2b0e 100644
--- a/ACE/bin/MakeProjectCreator/templates/gnu.mpd
+++ b/ACE/bin/MakeProjectCreator/templates/gnu.mpd
@@ -772,7 +772,16 @@ __postbuild__: $(VBIN) $(INSTALL)
<%if(sharedname || staticname)%>
__postbuild__: $(VLIBS) $(INSTALL)
<%else%>
+<%foreach(requires)%>
+ifeq ($(<%require%>),1)
+<%endfor%>
+<%foreach(avoids)%>
+ifneq ($(<%avoid%>),1)
+<%endfor%>
__postbuild__: $(GENERATED_DIRTY)
+<%foreach(avoids requires)%>
+endif
+<%endfor%>
<%endif%>
<%endif%>