Skip to content

Commit f55e69a

Browse files
committed
Fix fopenmp for R4.2
1 parent 23dac21 commit f55e69a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ detect_openmp () {
126126
if CPPFLAGS="${CPPFLAGS} -fopenmp" "${R_HOME}/bin/R" CMD SHLIB test-omp.c >> config.log 2>&1; then
127127
echo "yes"
128128
export PKG_CFLAGS="${PKG_CFLAGS} -fopenmp"
129+
export PKG_LIBS="${PKG_LIBS} -fopenmp"
129130
export R_OPENMP_ENABLED=1
130131
return
131132
else

0 commit comments

Comments
 (0)