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