summaryrefslogtreecommitdiff
path: root/ccode
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-04-24 13:52:27 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2017-04-25 11:22:51 +0200
commit2ccda863c2136c0fa98d07b6863b2c9062149c48 (patch)
tree497bf8e6ed1051f23ea4ffcbab2a7cb7ba650150 /ccode
parent955ef3e1d216e84b1a88ca1273d069f21bc093d1 (diff)
downloadvala-2ccda863c2136c0fa98d07b6863b2c9062149c48.tar.gz
build: Use --use-header for libraries
Reduces the size of generated c-sources while avoiding redefinitions.
Diffstat (limited to 'ccode')
-rw-r--r--ccode/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/ccode/Makefile.am b/ccode/Makefile.am
index 3e384d784..fb4c66a71 100644
--- a/ccode/Makefile.am
+++ b/ccode/Makefile.am
@@ -83,6 +83,7 @@ ccode.vapi ccode.vala.stamp: $(libvalaccode_la_VALASOURCES)
--vapidir $(top_srcdir)/vapi --pkg gobject-2.0 \
--vapidir $(top_srcdir)/gee --pkg gee \
--pkg config \
+ --use-header \
-H valaccode.h \
--library ccode \
$^