Commit 131c520d authored by Romain Naour's avatar Romain Naour Committed by Peter Korsgaard
Browse files

package/efl/expedite: x-includes and x-libraries must be set for cross-compiling

If those flags are not explicitly passed, the libecore configure
script will include -I/usr/X11R6/include and -L/usr/X11R6/lib in the
compile flags, which are obviously unsafe for cross-compilation.

The fix is similar to 0d9d8984 and
da50b6b6.

Fixes:
http://autobuild.buildroot.org/results/24b/24b578a28455409b7bcc0277abc6b478c51ae67f



Signed-off-by: default avatarRomain Naour <romain.naour@openwide.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 61bd1a22
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11,4 +11,10 @@ EXPEDITE_LICENSE_FILES = COPYING

EXPEDITE_DEPENDENCIES = libevas libeina libeet

ifeq ($(BR2_PACKAGE_LIBEVAS_X11),y)
EXPEDITE_CONF_OPTS += --with-x=$(STAGING_DIR) \
	--x-includes=$(STAGING_DIR)/usr/include \
	--x-libraries=$(STAGING_DIR)/usr/lib
endif

$(eval $(autotools-package))