libtool: stop put /usr/lib{32,64} into RPATH
libtool will insert RPATH if $libdir not in sys_lib_dlsearch_path_spec. libtool's configure will parse /etc/ld.so.conf for this value. Without this change the original value is: - glibc: /lib /usr/lib /usr/lib32 /usr/local/lib - musl: /lib /usr/lib
This commit is contained in:
parent
60b24771ea
commit
f821989a2c
|
@ -4,12 +4,14 @@
|
|||
do_configure() {
|
||||
: ${configure_script:=./configure}
|
||||
|
||||
export lt_cv_sys_lib_dlsearch_path_spec="/usr/lib64 /usr/lib32 /usr/lib /lib /usr/local/lib"
|
||||
${configure_script} ${configure_args}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
: ${make_cmd:=make}
|
||||
|
||||
export lt_cv_sys_lib_dlsearch_path_spec="/usr/lib64 /usr/lib32 /usr/lib /lib /usr/local/lib"
|
||||
${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue