diff options
author | David Robillard <d@drobilla.net> | 2011-03-02 23:45:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-02 23:45:49 +0000 |
commit | 48454fa922b8836dbe4497eb7a6343e2825e7196 (patch) | |
tree | 83e0dd966244d4bd5414c361a2de15a5e77791ed | |
parent | 7c4b1a7db1c71b284474d480cce4749b8332f887 (diff) | |
download | serd-48454fa922b8836dbe4497eb7a6343e2825e7196.tar.gz serd-48454fa922b8836dbe4497eb7a6343e2825e7196.tar.bz2 serd-48454fa922b8836dbe4497eb7a6343e2825e7196.zip |
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
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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(): |