projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80de664
)
Makefile.introspection: Allow usage with --header-only
author
Colin Walters
<walters@verbum.org>
Wed, 19 Oct 2011 19:46:29 +0000
(15:46 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 19 Oct 2011 19:46:29 +0000
(15:46 -0400)
Makefile.introspection
patch
|
blob
|
history
diff --git
a/Makefile.introspection
b/Makefile.introspection
index
a0764ac
..
228cdde
100644
(file)
--- 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))