Skip to content
  • 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