diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-04-22 09:03:47 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-04-22 09:27:26 +0200 |
commit | ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27 (patch) | |
tree | 7b8acd30aa609405c4e36db42dea68bc9a95bac1 /patches/cross | |
parent | Move patches from ::gentoo (diff) | |
download | elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.gz elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.bz2 elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.zip |
Add application script, and a Makefile20170422
Diffstat (limited to 'patches/cross')
-rw-r--r-- | patches/cross/2.2 | 20 | ||||
-rw-r--r-- | patches/cross/2.4 | 20 | ||||
-rw-r--r-- | patches/cross/2.4.3 | 21 |
3 files changed, 61 insertions, 0 deletions
diff --git a/patches/cross/2.2 b/patches/cross/2.2 new file mode 100644 index 0000000..e8fc2be --- /dev/null +++ b/patches/cross/2.2 @@ -0,0 +1,20 @@ +--- ltmain.sh ++++ ltmain.sh +@@ -5768,7 +5768,7 @@ + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then +- add_dir="-L$libdir" ++ add_dir="-L${SYSROOT}$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in +@@ -5785,7 +5785,7 @@ + fi + else + # We cannot seem to hardcode it, guess we'll fake it. +- add_dir="-L$libdir" ++ add_dir="-L${SYSROOT}/$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in diff --git a/patches/cross/2.4 b/patches/cross/2.4 new file mode 100644 index 0000000..9b35295 --- /dev/null +++ b/patches/cross/2.4 @@ -0,0 +1,20 @@ +--- ltmain.sh ++++ ltmain.sh +@@ -5768,7 +5768,7 @@ + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then +- add_dir="-L$libdir" ++ add_dir="-L${lt_sysroot:-${SYSROOT}}$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in +@@ -5785,7 +5785,7 @@ + fi + else + # We cannot seem to hardcode it, guess we'll fake it. +- add_dir="-L$libdir" ++ add_dir="-L${lt_sysroot:-${SYSROOT}}/$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in diff --git a/patches/cross/2.4.3 b/patches/cross/2.4.3 new file mode 100644 index 0000000..760104f --- /dev/null +++ b/patches/cross/2.4.3 @@ -0,0 +1,21 @@ +--- ltmain.sh ++++ ltmain.sh +@@ -8367,7 +8367,7 @@ + test no = "$hardcode_direct_absolute"; then + add=$libdir/$linklib + elif test yes = "$hardcode_minus_L"; then +- add_dir=-L$libdir ++ add_dir=-L${lt_sysroot:-${SYSROOT}}$libdir + add=-l$name + elif test yes = "$hardcode_shlibpath_var"; then + case :$finalize_shlibpath: in +@@ -8384,7 +8384,7 @@ + fi + else + # We cannot seem to hardcode it, guess we'll fake it. +- add_dir=-L$libdir ++ add_dir=-L${lt_sysroot:-${SYSROOT}}$libdir + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + |