centos-7: add dependencies/install/lib64 in rpath

- protobuf is installed in .../lib64
This commit is contained in:
Corentin Le Molgat
2018-07-13 17:06:12 +02:00
parent 2bfe809297
commit 99864e4be7

View File

@@ -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)