diff options
Diffstat (limited to 'libexpat/README-DEV')
-rw-r--r-- | libexpat/README-DEV | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/libexpat/README-DEV b/libexpat/README-DEV index 9eb0455..d552e9c 100644 --- a/libexpat/README-DEV +++ b/libexpat/README-DEV @@ -6,10 +6,24 @@ Symlink the required upstream files: $ ln -s ../COPYING $ pushd libexpat -$ ln -s ../../upstream/expat/lib/{*.{c,h},libexpat.def} ./ +$ ln -s ../../upstream/expat/lib/{*.{c,h},libexpat.def.cmake} ./ $ ln -s ../../upstream/expat/expat_config.h.cmake expat_config.h.cmake.orig $ popd +@@ TMP Note that the in module can't be used directly for libexpat.def.cmake + since the substitution variables we need to use start with the + underscore character, which ends up with the following error: + + buildfile:28:3: error: variable name '_EXPAT_COMMENT_ATTR_INFO' is reserved + info: variable name starts with underscore + + This can be fixed when the build2 version 0.16.0 is released, which + introduces the in.substitutions variable, which can be set to the list + of substitutions (key-value pairs). + + For now we just copy libexpat.def.cmake to libexpat.def.in and patch it + manually, removing the leading underscores. + Use some of the upstream's tests for testing: $ pushd unit-tests/regression/ |