Bug when system uses lib64.

This commit is contained in:
Marcel Keller
2022-11-01 13:31:39 +11:00
parent 49fa130446
commit a9b03e8fa7

View File

@@ -316,6 +316,7 @@ libote: deps/libOTe/libOTe
PATH="$(CURDIR)/local/bin:$(PATH)" python3 build.py --install=$(CURDIR)/local -- -DBUILD_SHARED_LIBS=0 -DENABLE_AVX=OFF -DENABLE_SSE=OFF $(OTE_OPTS)
else
libote: deps/libOTe/libOTe
ln -sf lib local/lib64; \
ln -sf . local/lib/x86_64-linux-gnu; \
cd deps/libOTe; \
PATH="$(CURDIR)/local/bin:$(PATH)" python3 build.py --install=$(CURDIR)/local -- -DBUILD_SHARED_LIBS=0 $(OTE_OPTS)