mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Fix build_libddir
This commit is contained in:
parent
06529b4e5c
commit
38a1e8a0dd
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ export ASMFLAGS="%{build_cflags}"
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:`pwd`/llvm/%{_vpath_builddir}/%{_lib}"
|
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:`pwd`/%{build_libdir}"
|
||||||
|
|
||||||
cd llvm
|
cd llvm
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
%global install_datadir %{install_prefix}/share
|
%global install_datadir %{install_prefix}/share
|
||||||
%global install_libexecdir %{install_prefix}/libexec
|
%global install_libexecdir %{install_prefix}/libexec
|
||||||
%global install_docdir %{install_datadir}/doc
|
%global install_docdir %{install_datadir}/doc
|
||||||
|
%global build_libdir llvm/%{_vpath_builddir}/lib
|
||||||
|
|
||||||
%global pkg_includedir %{_includedir}/%{pkg_name_llvm}
|
%global pkg_includedir %{_includedir}/%{pkg_name_llvm}
|
||||||
%global pkg_datadir %{install_prefix}/share
|
%global pkg_datadir %{install_prefix}/share
|
||||||
|
@ -68,6 +69,7 @@
|
||||||
%global install_includedir %{_includedir}
|
%global install_includedir %{_includedir}
|
||||||
%global install_libexecdir %{_libexecdir}
|
%global install_libexecdir %{_libexecdir}
|
||||||
%global install_docdir %{_docdir}
|
%global install_docdir %{_docdir}
|
||||||
|
%global build_libdir llvm/%{_vpath_builddir}/%{_lib}
|
||||||
%global pkg_datadir %{_datadir}
|
%global pkg_datadir %{_datadir}
|
||||||
%global pkg_suffix %{nil}
|
%global pkg_suffix %{nil}
|
||||||
%global exec_suffix %{nil}
|
%global exec_suffix %{nil}
|
||||||
|
|
|
@ -26,8 +26,6 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install libraries needed for unittests
|
# Install libraries needed for unittests
|
||||||
%global build_libdir llvm/%{_vpath_builddir}/%{_lib}
|
|
||||||
|
|
||||||
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{install_libdir}
|
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{install_libdir}
|
||||||
install %{build_libdir}/libLLVMTestingAnnotations.a %{buildroot}%{install_libdir}
|
install %{build_libdir}/libLLVMTestingAnnotations.a %{buildroot}%{install_libdir}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue