diff --git a/Makefile b/Makefile index 01b917e..ac6168e 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ INC = -Ithird_party -Ithird_party/imgui LIBS = -lglfw ROOTFLAGS = -std=c++17 -m64 -I$(ROOTINCDIR) -ROOTLIBS = -L$(ROOTLIBDIR) -lCore -lRIO -lROOTNTuple -lxxhash -pthread +ROOTLIBS = -L$(ROOTLIBDIR) -lCore -lRIO -lROOTNTuple -lxxhash -pthread -Wl,-rpath,$(ROOTLIBDIR) ifeq ($(shell which mold),) MOLD =