summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-05 04:23:46 -0400
committermidipix <writeonce@midipix.org>2016-05-05 04:23:46 -0400
commit855e361ec9d76a81c2348a255c930c27bda7f894 (patch)
tree4ac0a650ceb6d26eca6774ecc7c8ac2d14692409 /src/logic
parent5b5408293a750db40d3c4f725405195b2db413b7 (diff)
downloadslibtool-855e361ec9d76a81c2348a255c930c27bda7f894.tar.bz2
slibtool-855e361ec9d76a81c2348a255c930c27bda7f894.tar.xz
compile mode: added .cpp to the list of source suffixes.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 320314b..cc5e9b6 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -49,6 +49,7 @@ static char * slbt_source_file(char ** argv)
|| (!(strcmp(ch,"asm")))
|| (!(strcmp(ch,"c")))
|| (!(strcmp(ch,"cc")))
+ || (!(strcmp(ch,"cpp")))
|| (!(strcmp(ch,"cxx"))))
return *parg;
return 0;