diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2019-09-30 15:08:30 +0000 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2019-10-01 07:44:10 +0200 |
commit | 2d4bb24588dc872ba856dd4430541e0e0a641b7e (patch) | |
tree | 52070b3bf3bbdb757e946c5429db84db6217db01 /unotools | |
parent | 981654f6e0d57c2c6dd1bbf740a6b67941146497 (diff) |
gbuild: treat $(DCONF_CFLAGS) as includes, not defines
Since that variable holds the relevant includes, using
'gb_LinkTarget_set_include' makes sure that those
flags end up in the correct section, e.g. when generating
IDE integration using 'gbuild-to-ide', and thus prevents
issues like that described in
4aa60490622cc10f8d3a31489c62a5622d240c83
("gbuild: treat $({QT,KF}5_CFLAGS) as cxxflags, not defines").
(Value of 'DCONF_CFLAGS' variable on Debian testing with
'libdconf-dev' 0.34.0-1 is:
DCONF_CFLAGS=-pthread -I/usr/include/dconf -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
)
Change-Id: I74c5194d88838bffa2b8515372266336627f235c
Reviewed-on: https://gerrit.libreoffice.org/79874
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'unotools')
0 files changed, 0 insertions, 0 deletions