mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
libX11: fix build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
27186b90a1
commit
5a27483c49
@ -27,8 +27,6 @@ export CPPFLAGS_FOR_BUILD="$HOST_CPPFLAGS"
|
||||
export CFLAGS_FOR_BUILD="$HOST_CFLAGS -I$SYSROOT_PREFIX/usr/include"
|
||||
export LDFLAGS_FOR_BUILD="$HOST_LDFLAGS"
|
||||
|
||||
export PKG_CONFIG="$PKG_CONFIG --define-variable=prefix=$SYSROOT_PREFIX/usr"
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
./configure --host=$TARGET_NAME \
|
||||
|
@ -0,0 +1,20 @@
|
||||
diff -Naur libX11-1.5.0-old/configure.ac libX11-1.5.0-new/configure.ac
|
||||
--- libX11-1.5.0-old/configure.ac 2012-06-01 23:37:17.000000000 -0700
|
||||
+++ libX11-1.5.0-new/configure.ac 2012-06-02 09:13:08.000000000 -0700
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
# Required when PKG_CHECK_MODULES called within an if statement
|
||||
PKG_PROG_PKG_CONFIG
|
||||
+m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$])
|
||||
|
||||
if test x"$CC_FOR_BUILD" = x; then
|
||||
if test x"$cross_compiling" = xyes; then
|
||||
@@ -306,7 +307,7 @@
|
||||
# Find keysymdef.h
|
||||
#
|
||||
AC_MSG_CHECKING([keysym definitions])
|
||||
-KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
|
||||
+KEYSYMDEFDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=includedir xproto`/X11
|
||||
FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
|
||||
for i in $FILES; do
|
||||
if test -f "$KEYSYMDEFDIR/$i"; then
|
Loading…
x
Reference in New Issue
Block a user