From 70b1638d91c8059889c32a22e35f01a35fe170d2 Mon Sep 17 00:00:00 2001 From: Dan Gealow Date: Wed, 4 Dec 2024 10:56:25 -0500 Subject: [PATCH] Fix fopenmp for R4.2 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 8e450c10b8..c6492f54f5 100755 --- a/configure +++ b/configure @@ -122,6 +122,7 @@ detect_openmp () { if CPPFLAGS="${CPPFLAGS} -fopenmp" "${R_HOME}/bin/R" CMD SHLIB test-omp.c >> config.log 2>&1; then echo "yes" export PKG_CFLAGS="${PKG_CFLAGS} -fopenmp" + export PKG_LIBS="${PKG_LIBS} -fopenmp" export R_OPENMP_ENABLED=1 return else