Skip to contentSkip to conversation

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

PATCH Superseded Romain Naour 2 participants 2 messages May 6, 2015 – May 7, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 0d9d8984a9240a27f5ed2e15f1977ada67266906 and da50b6b61c4a566fd28888f5a3a6dcb06fe1b495.

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

---
 package/efl/expedite/expedite.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/efl/expedite/expedite.mk +6 -0
index f0361bf..02a4ca0 100644
@@ -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))
Signature · 1 line
1.9.3
#1 lore raw

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

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

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.

Quoted 7 lines

The fix is similar to 0d9d8984a9240a27f5ed2e15f1977ada67266906 and da50b6b61c4a566fd28888f5a3a6dcb06fe1b495.

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard