Commit f84a64c3 authored by Martin Kampas's avatar Martin Kampas

[glibc] Use an absolute path in ld.so.conf. Contributes to JB#46501

sb2 executes ldconfig with -r, in which case it would complain: "need
absolute file name for configuration file when using -r"
parent 5282aced
......@@ -168,6 +168,7 @@ libraries, as well as national language (locale) support.
# We need to run ldconfig manually because ldconfig cannot handle the
# relative include path in the /etc/ld.so.conf file we gneerate.
# Note: Currently an absolute path is in use
%undefine __brp_ldconfig
######################################################################
......@@ -433,7 +434,7 @@ install -m 644 %{glibcsrcdir}/nscd/nscd.service %{glibc_sysroot}/lib/systemd/sys
%endif
# Include ld.so.conf
echo 'include ld.so.conf.d/*.conf' > %{glibc_sysroot}/etc/ld.so.conf
echo 'include /etc/ld.so.conf.d/*.conf' > %{glibc_sysroot}/etc/ld.so.conf
echo -n '' > %{glibc_sysroot}/etc/ld.so.cache
chmod 644 %{glibc_sysroot}/etc/ld.so.conf
mkdir -p %{glibc_sysroot}/etc/ld.so.conf.d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment