llvm.org GIT mirror llvm / 7b065ec
Fix rpath for MacOS/iOS Summary: libs can be installed to ../lib64. Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65972 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368398 91177308-0d34-0410-b5e6-96231b3b80d8 Haibo Huang 2 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
17341734
17351735 if (APPLE)
17361736 set(_install_name_dir INSTALL_NAME_DIR "@rpath")
1737 set(_install_rpath "@loader_path/../lib" ${extra_libdir})
1737 set(_install_rpath "@loader_path/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})
17381738 elseif(UNIX)
17391739 set(_install_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})
17401740 if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")