• 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
doc Loading commit data...
examples Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
template-glib.doap Loading commit data...