diff options
Diffstat (limited to 'ACE/bin/MakeProjectCreator/templates/gnu.mpd')
-rw-r--r-- | ACE/bin/MakeProjectCreator/templates/gnu.mpd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/bin/MakeProjectCreator/templates/gnu.mpd b/ACE/bin/MakeProjectCreator/templates/gnu.mpd index f5335a84ad9..beb0821e514 100644 --- a/ACE/bin/MakeProjectCreator/templates/gnu.mpd +++ b/ACE/bin/MakeProjectCreator/templates/gnu.mpd @@ -450,9 +450,11 @@ ifeq ($(shared_libs),1) endif endif <%endif%> -<%if(staticflags)%> +<%if(staticflags || exename)%> ifeq ($(static_libs),1) +<%if(staticflags)%> CPPFLAGS +=<%foreach(staticflags)%> -D<%staticflag%><%endfor%> +<%endif%> <%if(exename)%> ifeq ($(link_groups), 1) LDLIBS := -Wl,--start-group $(LDLIBS) -Wl,--end-group |