1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-22 01:07:11 +00:00
termux-packages/packages/binutils-libs/options.cc.patch32
Tee KOBAYASHI 5c73c3f40f binutils: Overhaul
* Rename main package to binutils-libs

* Install executables into libexec/binutils/

* Create subpackage binutils-bin not conflicting with binutils-is-llvm

  - binutils-bin contains symlinks bin/{as,elfedit,gprof,ld.bfd}

* Make binutils essentially a metapackage only containing symlinks
2022-11-12 13:28:39 +00:00

14 lines
545 B
Plaintext

--- ../cache/binutils-2.30/gold/options.cc 2018-01-13 13:31:16.000000000 +0000
+++ ./gold/options.cc 2018-03-11 23:17:59.326121534 +0000
@@ -1227,8 +1227,8 @@
|| this->user_set_sysroot()
|| *TARGET_SYSTEM_ROOT != '\0')
{
- this->add_to_library_path_with_sysroot("/lib");
- this->add_to_library_path_with_sysroot("/usr/lib");
+ this->add_to_library_path_with_sysroot("@TERMUX_PREFIX@/lib");
+ this->add_to_library_path_with_sysroot("/system/lib");
}
else
this->add_to_library_path_with_sysroot(TOOLLIBDIR);