[R] Fix duplicated libomp.dylib error on Mac OSX (#5701)

This commit is contained in:
Philip Hyunsu Cho
2020-05-24 23:37:33 -07:00
committed by GitHub
parent 1ba24a7597
commit e35ad8a074
2 changed files with 2 additions and 2 deletions

2
R-package/configure vendored
View File

@@ -2710,7 +2710,7 @@ fi
if test `uname -s` = "Darwin"
then
OPENMP_CXXFLAGS='-Xclang -fopenmp'
OPENMP_LIB='/usr/local/lib/libomp.dylib'
OPENMP_LIB='-lomp'
ac_pkg_openmp=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenMP will work in a package" >&5
$as_echo_n "checking whether OpenMP will work in a package... " >&6; }