Skip to content

Commit

Permalink
[GR-30633] Add -dynamiclib to Makeconf.llvm on Darwin.
Browse files Browse the repository at this point in the history
PullRequest: fastr/2603
  • Loading branch information
steve-s committed Apr 8, 2021
2 parents 6995a12 + 8c9fb8d commit 871cbf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ JAR = $(JAVA_HOME)/bin/jar
## JAVA_HOME might be used in the next three.
## They are for packages 'JavaGD' and 'rJava'
LAPACK_LIBS = -L"$(R_HOME)/lib$(R_ARCH)" -lRlapack
LDFLAGS = "-Wl,-rpath,$(R_HOME)/lib/,-rpath,$(R_HOME)/../llvm/native/lib,-undefined,dynamic_lookup" -L"$(R_HOME)/lib" -L"$(R_HOME)/../llvm/native/lib" -lf2c $(PKG_LDFLAGS_OVERRIDE)
LDFLAGS = "-Wl,-rpath,$(R_HOME)/lib/,-rpath,$(R_HOME)/../llvm/native/lib,-undefined,dynamic_lookup" -L"$(R_HOME)/lib" -L"$(R_HOME)/../llvm/native/lib" -dynamiclib -lf2c $(PKG_LDFLAGS_OVERRIDE)
## we only need this is if it is external, as otherwise link to R
LIBM = -lm
LIBR0 = -lR
Expand Down

0 comments on commit 871cbf4

Please sign in to comment.