From 99864e4be7118bb6a3850a5f7774c2684dbcd452 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Fri, 13 Jul 2018 17:06:12 +0200 Subject: [PATCH] centos-7: add dependencies/install/lib64 in rpath - protobuf is installed in .../lib64 --- makefiles/Makefile.unix.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makefiles/Makefile.unix.mk b/makefiles/Makefile.unix.mk index 8af4f448f0..180623c517 100644 --- a/makefiles/Makefile.unix.mk +++ b/makefiles/Makefile.unix.mk @@ -164,11 +164,13 @@ ifeq ($(PLATFORM),LINUX) LINK_FLAGS = \ -Wl,-rpath,"\$$ORIGIN" \ -Wl,-rpath,"\$$ORIGIN/../lib" \ + -Wl,-rpath,"\$$ORIGIN/../dependencies/install/lib64" \ -Wl,-rpath,"\$$ORIGIN/../dependencies/install/lib" PYTHON_LDFLAGS = \ -Wl,-rpath,"\$$ORIGIN" \ -Wl,-rpath,"\$$ORIGIN/../../ortools" \ -Wl,-rpath,"\$$ORIGIN/../../../../lib" \ + -Wl,-rpath,"\$$ORIGIN/../../../../dependencies/install/lib64" \ -Wl,-rpath,"\$$ORIGIN/../../../../dependencies/install/lib" endif # ifeq ($(PLATFORM),LINUX) ifeq ($(PLATFORM),MACOSX)