aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index 3c6feb35..7e8e0cd4 100644
--- a/wscript
+++ b/wscript
@@ -130,7 +130,10 @@ def amalgamate(ctx):
serd_internal_h = open('src/serd_internal.h')
for l in serd_internal_h:
- amalgamation.write(l)
+ if l == '#include "serd/serd.h"\n':
+ amalgamation.write('#include "serd-%s.h"\n' % SERD_VERSION)
+ else:
+ amalgamation.write(l)
serd_internal_h.close()
for f in 'env.c node.c reader.c uri.c writer.c'.split():