mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/gensio: add libglib2 optional dependency
libglib2 is an optional dependency which is enabled by default since version 2.3.0 and866924d69dHandle it properly to avoid the following build failure since bump to version 2.5.2 in commit5bb747f0b7: sparc64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/glib-2.0' Fixes: - http://autobuild.buildroot.org/results/3602c5cc2aff668211fd8e6eeab778b3fe287246 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commitf255abdcea) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
ef2bd60926
commit
203b27d3e9
@@ -14,6 +14,13 @@ GENSIO_CONF_OPTS = \
|
||||
--without-swig \
|
||||
--without-python
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||
GENSIO_DEPENDENCIES += host-pkgconf libglib2
|
||||
GENSIO_CONF_OPTS += --with-glib
|
||||
else
|
||||
GENSIO_CONF_OPTS += --without-glib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENIPMI),y)
|
||||
GENSIO_DEPENDENCIES += openipmi
|
||||
GENSIO_CONF_OPTS += --with-openipmi
|
||||
|
||||
Reference in New Issue
Block a user