summaryrefslogtreecommitdiff
path: root/templates/make.mpd
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2010-02-16 00:58:36 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2010-02-16 00:58:36 +0000
commit3e50ed8759807d530494d6e1562b61f7ee0e8adb (patch)
tree8bef89b55aa6feb49bd48a147d53a41c7024e575 /templates/make.mpd
parent8a1135e725334f5bdaed6b14c63de1f7b341b00a (diff)
downloadMPC-3e50ed8759807d530494d6e1562b61f7ee0e8adb.tar.gz
ChangeLogTag: Tue Feb 16 00:56:18 UTC 2010 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'templates/make.mpd')
-rw-r--r--templates/make.mpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/make.mpd b/templates/make.mpd
index fa2e67da..b6a2132d 100644
--- a/templates/make.mpd
+++ b/templates/make.mpd
@@ -117,7 +117,7 @@ SHFLAGS = <%shflags%>
<%endif%>
<%endif%>
SRC =<%if(pch_source && pchsupport)%> <%pch_source%><%endif%> <%source_files%>
-LINK.cc = $(LD) $(LDFLAGS)
+LINK.cc = <%if(dld)%><%dld%> $(LDFLAGS)<%else%>$(LD) $(LDFLAGS)<%endif%>
<%if(!contains(language, java))%>
<%if(dynamicflags)%>
DYNAMICFLAGS =<%foreach(dynamicflags)%> -D<%dynamicflag%><%endfor%>
@@ -192,7 +192,7 @@ $(SHLIB)<%if(version && versupport)%>.<%version%><%endif%>: <%if(tempinc)%>$(TEM
<%if(dmclink)%>
link /impl <%if(pch_source && pchsupport)%><%targetoutdir%><%obj_dir%><%noextension(pch_source)%>$(OBJEXT)+<%endif%><%foreach(source_files)%><%targetoutdir%><%obj_dir%><%noextension(source_file)%>$(OBJEXT)<%fornotlast("+")%><%endfor%>,$@,<%ldlibs%><%if(rc)%><%foreach(resource_files)%><%forfirst(",,")%><%targetoutdir%><%obj_dir%><%resource_file%>$(RESEXT)<%fornotlast("+")%><%endfor%><%endif%>
<%else%>
- <%if(dld)%><%dld%> $(LDFLAGS)<%else%>$(LINK.cc)<%endif%> $(SHFLAGS) $(OBJS) $(LDLIBS) $(OUTPUT_OPTION)
+ $(LINK.cc) $(SHFLAGS) $(OBJS) $(LDLIBS) $(OUTPUT_OPTION)
<%endif%>
<%else%>