[R] Fix duplicated libomp.dylib error on Mac OSX (#5701)
This commit is contained in:
committed by
GitHub
parent
1ba24a7597
commit
e35ad8a074
2
R-package/configure
vendored
2
R-package/configure
vendored
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user