[python] LD_LIBRARY_PATH is necessary for linux

update-fork
MITSUNARI Shigeo 4 years ago
parent 317934bdfb
commit e6cc4025e1
  1. 2
      ffi/python/Makefile

@ -3,7 +3,7 @@ include ../../common.mk
SHE384_256_SLIB=libmclshe384_256.$(LIB_SUF) SHE384_256_SLIB=libmclshe384_256.$(LIB_SUF)
she_test: ../../lib/$(SHE384_256_SLIB) she_test: ../../lib/$(SHE384_256_SLIB)
cd ../../lib && python3 ../ffi/python/she.py cd ../../lib && env LD_LIBRARY_PATH=./ python3 ../ffi/python/she.py
../../lib/$(SHE384_256_SLIB): ../../lib/$(SHE384_256_SLIB):
make -C ../../ lib/$(SHE384_256_SLIB) make -C ../../ lib/$(SHE384_256_SLIB)

Loading…
Cancel
Save