mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Mesa: update crosscompile patch. closes #890
This commit is contained in:
parent
4e17b6f061
commit
fb9b8c1d73
@ -1,5 +1,5 @@
|
|||||||
diff --git a/bin/mklib b/bin/mklib
|
diff --git a/bin/mklib b/bin/mklib
|
||||||
index 9bac29e..b8fac2c 100755
|
index 9bac29e..70982d6 100755
|
||||||
--- a/bin/mklib
|
--- a/bin/mklib
|
||||||
+++ b/bin/mklib
|
+++ b/bin/mklib
|
||||||
@@ -49,8 +49,8 @@ expand_archives() {
|
@@ -49,8 +49,8 @@ expand_archives() {
|
||||||
@ -13,7 +13,16 @@ index 9bac29e..b8fac2c 100755
|
|||||||
for MEMBER in $MEMBERS ; do
|
for MEMBER in $MEMBERS ; do
|
||||||
NEWFILES="$NEWFILES $DIR/$MEMBER"
|
NEWFILES="$NEWFILES $DIR/$MEMBER"
|
||||||
done
|
done
|
||||||
@@ -87,7 +87,7 @@ make_ar_static_lib() {
|
@@ -77,7 +77,7 @@ expand_archives() {
|
||||||
|
make_ar_static_lib() {
|
||||||
|
OPTS=$1
|
||||||
|
shift;
|
||||||
|
- RANLIB=$1
|
||||||
|
+ _RANLIB=$1
|
||||||
|
shift;
|
||||||
|
LIBNAME=$1
|
||||||
|
shift;
|
||||||
|
@@ -87,11 +87,11 @@ make_ar_static_lib() {
|
||||||
rm -f ${LIBNAME}
|
rm -f ${LIBNAME}
|
||||||
|
|
||||||
# make static lib
|
# make static lib
|
||||||
@ -21,7 +30,13 @@ index 9bac29e..b8fac2c 100755
|
|||||||
+ $AR ${OPTS} ${LIBNAME} ${OBJECTS}
|
+ $AR ${OPTS} ${LIBNAME} ${OBJECTS}
|
||||||
|
|
||||||
# run ranlib
|
# run ranlib
|
||||||
if [ ${RANLIB} = 1 ] ; then
|
- if [ ${RANLIB} = 1 ] ; then
|
||||||
|
- ranlib ${LIBNAME}
|
||||||
|
+ if [ ${_RANLIB} = 1 ] ; then
|
||||||
|
+ $RANLIB ${LIBNAME}
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ${LIBNAME}
|
||||||
@@ -313,9 +313,9 @@ case $ARCH in
|
@@ -313,9 +313,9 @@ case $ARCH in
|
||||||
if [ "x$LINK" = "x" ] ; then
|
if [ "x$LINK" = "x" ] ; then
|
||||||
# -linker was not specified so set default link command now
|
# -linker was not specified so set default link command now
|
||||||
@ -33,4 +48,3 @@ index 9bac29e..b8fac2c 100755
|
|||||||
+ LINK=$CC
|
+ LINK=$CC
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user