Skip to content

Commit a74ed49

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

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package/efl/libevas/libevas.mk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,13 @@ else
225225
LIBEVAS_CONF_OPTS += --disable-fontconfig
226226
endif
227227

228+
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
229+
LIBEVAS_CONF_OPTS += --enable-fribidi
230+
LIBEVAS_DEPENDENCIES += libfribidi
231+
else
232+
LIBEVAS_CONF_OPTS += --disable-fribidi
233+
endif
234+
228235
# libevas installs the source code of examples on the target, which
229236
# are generally not useful.
230237
define LIBEVAS_REMOVE_EXAMPLES

0 commit comments

Comments
 (0)