Skip to content

Commit 70b1638

Browse files
committed
Fix fopenmp for R4.2
1 parent c29e313 commit 70b1638

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
@@ -122,6 +122,7 @@ detect_openmp () {
122122
if CPPFLAGS="${CPPFLAGS} -fopenmp" "${R_HOME}/bin/R" CMD SHLIB test-omp.c >> config.log 2>&1; then
123123
echo "yes"
124124
export PKG_CFLAGS="${PKG_CFLAGS} -fopenmp"
125+
export PKG_LIBS="${PKG_LIBS} -fopenmp"
125126
export R_OPENMP_ENABLED=1
126127
return
127128
else

0 commit comments

Comments
 (0)