forked from pool/julia
This commit is contained in:
parent
7d8e1dca03
commit
2e409ce638
@ -317,8 +317,12 @@ make %{?_smp_mflags} \
|
||||
# This may fix other issues where libLLVM-14jl.so is not properly copied?
|
||||
if [ "x%{_lib}" != xlib ] ; then
|
||||
# The one that contains buildsubdir/build is from the build_prefix and build_libdir vars
|
||||
cp -a %{_builddir}/%{buildsubdir}/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
|
||||
cp -a %{_builddir}/%{buildsubdir}/%{_libdir}/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
|
||||
if [ -d "%{_builddir}/%{buildsubdir}/usr/lib" ] ; then
|
||||
cp -a %{_builddir}/%{buildsubdir}/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
|
||||
fi
|
||||
if [ -d "%{_builddir}/%{buildsubdir}/%{_libdir}" ] ; then
|
||||
cp -a %{_builddir}/%{buildsubdir}/%{_libdir}/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
|
||||
fi
|
||||
cp -a %{_builddir}/%{buildsubdir}/build/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
|
||||
rm -rf %{_builddir}/%{buildsubdir}/build/usr/lib/
|
||||
# make -C deps install-somepackage goes to top-level folder
|
||||
|
Loading…
Reference in New Issue
Block a user