Skip to content

Commit c2eca9e

Browse files
fabio-porceddajacmet
authored andcommitted
package/libfribidi: add optional dependency on libglib2
Fix the following message when libglib2 is enabled but not already built: Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' No package 'glib-2.0' found Signed-off-by: Fabio Porcedda <[email protected]> Signed-off-by: Peter Korsgaard <[email protected]>
1 parent a74ed49 commit c2eca9e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package/libfribidi/libfribidi.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ LIBFRIBIDI_INSTALL_STAGING = YES
1515
LIBFRIBIDI_AUTORECONF = YES
1616
LIBFRIBIDI_DEPENDENCIES = host-pkgconf
1717

18+
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
19+
LIBFRIBIDI_DEPENDENCIES += libglib2
20+
else
21+
LIBFRIBIDI_CONF_OPTS += --with-glib=no
22+
endif
23+
1824
$(eval $(autotools-package))

0 commit comments

Comments
 (0)