diff options
-rw-r--r-- | Makefile.introspection | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.introspection b/Makefile.introspection index a0764ac2..228cdde2 100644 --- a/Makefile.introspection +++ b/Makefile.introspection @@ -120,7 +120,8 @@ define introspection-scanner # Basic sanity check, to make sure required variables are set $(if $($(_gir_name)_FILES),,$(error Need to define $(_gir_name)_FILES)) -$(if $(or $($(_gir_name)_LIBS), +$(if $(or $(findstring --header-only,$($(_gir_name)_SCANNERFLAGS)), + $($(_gir_name)_LIBS), $($(_gir_name)_PROGRAM)),, $(error Need to define $(_gir_name)_LIBS or $(_gir_name)_PROGRAM)) |