X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/442464c5be50338c9e4d2fd03b06c316a294193c..2d124b6737dab1e87ff47153c8e3e231a42f4e5e:/packages/binutils/options.cc.patch32?ds=sidebyside diff --git a/packages/binutils/options.cc.patch32 b/packages/binutils/options.cc.patch32 new file mode 100644 index 00000000..21749ae8 --- /dev/null +++ b/packages/binutils/options.cc.patch32 @@ -0,0 +1,13 @@ +--- ../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("/data/data/com.termux/files/usr/lib"); ++ this->add_to_library_path_with_sysroot("/system/lib"); + } + else + this->add_to_library_path_with_sysroot(TOOLLIBDIR);