From 48454fa922b8836dbe4497eb7a6343e2825e7196 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 2 Mar 2011 23:45:49 +0000 Subject: Fix #include in amalgamation to refer to amalgamation header instead of system header. git-svn-id: http://svn.drobilla.net/serd/trunk@116 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wscript') 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(): -- cgit v1.2.1