summaryrefslogtreecommitdiffstats
path: root/scons/custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/custom.py')
-rw-r--r--scons/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/custom.py b/scons/custom.py
index bdb4039b8af..544b15de1a4 100644
--- a/scons/custom.py
+++ b/scons/custom.py
@@ -281,7 +281,7 @@ def parse_source_list(env, filename, names=None):
# cause duplicate actions.
f = f[len(cur_srcdir + '/'):]
# do not include any headers
- if f.endswith('.h'):
+ if f.endswith(tuple(['.h','.hpp'])):
continue
srcs.append(f)