Skip to content

Commit 538c491

Browse files
Merge pull request #6633 from dvg-p4/darwin-link-fopenmp
Make sure data.table is linked (not just compiled) with `-fopenmp` in this particular branch of `configure` for Darwin
2 parents f00255f + 70b1638 commit 538c491

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)