Skip to content

Commit

Permalink
[Bin] Added rpath (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmed256 committed Apr 27, 2018
1 parent 725d505 commit a84d9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $(libPath)/libocca.so:$(objects) $(headers) $(COMPILED_DEFINES_CHANGED)

$(binPath)/occa:$(OCCA_DIR)/scripts/occa.cpp $(libPath)/libocca.so $(COMPILED_DEFINES_CHANGED)
@mkdir -p $(binPath)
$(compiler) $(compilerFlags) -o $(binPath)/occa -rpath $(libPath) $(flags) $(OCCA_DIR)/scripts/occa.cpp $(paths) $(links) -L$(OCCA_DIR)/lib -locca
$(compiler) $(compilerFlags) -o $(binPath)/occa -Wl,-rpath,$(libPath) $(flags) $(OCCA_DIR)/scripts/occa.cpp $(paths) $(links) -L$(OCCA_DIR)/lib -locca
# ===========================

$(OCCA_DIR)/obj/%.o:$(OCCA_DIR)/src/%.cpp $(OCCA_DIR)/include/occa/%.hpp $(OCCA_DIR)/include/occa/%.tpp $(COMPILED_DEFINES_CHANGED)
Expand Down

0 comments on commit a84d9d1

Please sign in to comment.