mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
libtool: re-add patches
This commit is contained in:
parent
963662fc53
commit
d251c554f6
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
|
||||||
|
index 5eca4ae..23901ff 100644
|
||||||
|
--- a/build-aux/ltmain.sh
|
||||||
|
+++ b/build-aux/ltmain.sh
|
||||||
|
@@ -8333,7 +8333,7 @@ func_mode_link ()
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
# We cannot seem to hardcode it, guess we'll fake it.
|
||||||
|
- add_dir=-L$libdir
|
||||||
|
+ #add_dir=-L$libdir
|
||||||
|
# Try looking first in the location we're being installed to.
|
||||||
|
if test -n "$inst_prefix_dir"; then
|
||||||
|
case $libdir in
|
13
packages/devel/libtool/patches/libtool-02-use_ld.patch
Normal file
13
packages/devel/libtool/patches/libtool-02-use_ld.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
|
||||||
|
index 23901ff..df26ab5 100644
|
||||||
|
--- a/build-aux/ltmain.sh
|
||||||
|
+++ b/build-aux/ltmain.sh
|
||||||
|
@@ -7250,7 +7250,7 @@ func_mode_link ()
|
||||||
|
# -stdlib=* select c++ std lib with clang
|
||||||
|
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
||||||
|
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
||||||
|
- -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
|
||||||
|
+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*|-fuse-ld=*)
|
||||||
|
func_quote_for_eval "$arg"
|
||||||
|
arg=$func_quote_for_eval_result
|
||||||
|
func_append compile_command " $arg"
|
Loading…
x
Reference in New Issue
Block a user