Skip to content
Snippets Groups Projects
Commit 74331e52 authored by Mick Jordan's avatar Mick Jordan
Browse files

use '$ORIGIN' for libR rpath on Linux

parent 3fa0497d
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ ifeq ($(OS_NAME),Darwin) ...@@ -56,7 +56,7 @@ ifeq ($(OS_NAME),Darwin)
# check if we captured libpcre/libz, rpath those in libR # check if we captured libpcre/libz, rpath those in libR
mx rupdatelib $(FASTR_LIB_DIR) mx rupdatelib $(FASTR_LIB_DIR)
else else
$(DYLIB_LD) $(DYLIB_LDFLAGS) -Wl,-rpath,$(FASTR_LIB_DIR) -o $(R_LIB) $(wildcard lib/*.o) -L$(FASTR_LIB_DIR) -lRblas -lRlapack -lpcre -lz $(DYLIB_LD) $(DYLIB_LDFLAGS) -Wl,-rpath,'$$ORIGIN' -o $(R_LIB) $(wildcard lib/*.o) -L$(FASTR_LIB_DIR) -lRblas -lRlapack -lpcre -lz
endif endif
objs: objs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment