summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/templates/ghs.mpd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/MakeProjectCreator/templates/ghs.mpd')
-rw-r--r--bin/MakeProjectCreator/templates/ghs.mpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/MakeProjectCreator/templates/ghs.mpd b/bin/MakeProjectCreator/templates/ghs.mpd
index fbfb6a0a870..6d6314a7473 100644
--- a/bin/MakeProjectCreator/templates/ghs.mpd
+++ b/bin/MakeProjectCreator/templates/ghs.mpd
@@ -3,10 +3,10 @@ default:
<%if(exename)%>
program
<%endif%>
-<%if(sharedname)%>
+<%if(sharedname || staticname)%>
library
:cx_pch_option=automatic
- :outputname=<%libout%>\<%sharedname%>.lib
+ :outputname=<%libout%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.lib
:object_dir=obj
:cx_pch_dir=pch
<%endif%>