• maxice8's avatar
    build: pass -DTMPL_GLIB_COMPILATION to gir compiler · ad7280fb
    maxice8 authored
    Fixes Cross compilation of gir.
    
    ror "Only <tmpl-glib.h> can be included directly."
      ^~~~~
    In file included from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:7:
    /builddir/template-glib-3.30.0/src/tmpl-error.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/src/tmpl-error.h:28,
                     from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:7:
    /builddir/template-glib-3.30.0/src/tmpl-version-macros.h:23:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:8:
    /builddir/template-glib-3.30.0/src/tmpl-expr-types.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:9:
    /builddir/template-glib-3.30.0/src/tmpl-expr.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/src/tmpl-expr.h:28,
                     from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:9:
    /builddir/template-glib-3.30.0/src/tmpl-expr-types.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:11:
    /builddir/template-glib-3.30.0/src/tmpl-scope.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:12:
    /builddir/template-glib-3.30.0/src/tmpl-symbol.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:13:
    /builddir/template-glib-3.30.0/src/tmpl-template-locator.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    In file included from /builddir/template-glib-3.30.0/build/g-ir-cpp-1z28z8y8.c:14:
    /builddir/template-glib-3.30.0/src/tmpl-template.h:20:3: error: #error "Only <tmpl-glib.h> can be included directly."
     # error "Only <tmpl-glib.h> can be included directly."
       ^~~~~
    ad7280fb
Name
Last commit
Last update
..
Template-1.0.metadata Loading commit data...
main.c Loading commit data...
meson.build Loading commit data...
tmpl-branch-node.c Loading commit data...
tmpl-branch-node.h Loading commit data...
tmpl-condition-node.c Loading commit data...
tmpl-condition-node.h Loading commit data...
tmpl-debug.h.in Loading commit data...
tmpl-enums.c.in Loading commit data...
tmpl-enums.h.in Loading commit data...
tmpl-error.c Loading commit data...
tmpl-error.h Loading commit data...
tmpl-expr-eval.c Loading commit data...
tmpl-expr-node.c Loading commit data...
tmpl-expr-node.h Loading commit data...
tmpl-expr-parser-private.h Loading commit data...
tmpl-expr-parser.y Loading commit data...
tmpl-expr-private.h Loading commit data...
tmpl-expr-scanner.l Loading commit data...
tmpl-expr-types.h Loading commit data...
tmpl-expr.c Loading commit data...
tmpl-expr.h Loading commit data...
tmpl-gi-private.h Loading commit data...
tmpl-gi.c Loading commit data...
tmpl-glib.h Loading commit data...
tmpl-iter-node.c Loading commit data...
tmpl-iter-node.h Loading commit data...
tmpl-iterator.c Loading commit data...
tmpl-iterator.h Loading commit data...
tmpl-lexer.c Loading commit data...
tmpl-lexer.h Loading commit data...
tmpl-node.c Loading commit data...
tmpl-node.h Loading commit data...
tmpl-parser.c Loading commit data...
tmpl-parser.h Loading commit data...
tmpl-scope.c Loading commit data...
tmpl-scope.h Loading commit data...
tmpl-symbol.c Loading commit data...
tmpl-symbol.h Loading commit data...
tmpl-template-locator.c Loading commit data...
tmpl-template-locator.h Loading commit data...
tmpl-template.c Loading commit data...
tmpl-template.h Loading commit data...
tmpl-text-node.c Loading commit data...
tmpl-text-node.h Loading commit data...
tmpl-token-input-stream.c Loading commit data...
tmpl-token-input-stream.h Loading commit data...
tmpl-token.c Loading commit data...
tmpl-token.h Loading commit data...
tmpl-util-private.h Loading commit data...
tmpl-util.c Loading commit data...
tmpl-version-macros.h Loading commit data...
tmpl-version.h.in Loading commit data...