diff options
author | Jimmy Hu <jim2212001@gmail.com> | 2018-09-05 12:06:51 +0800 |
---|---|---|
committer | Jimmy Hu <jim2212001@gmail.com> | 2018-09-05 12:13:11 +0800 |
commit | 5ac928a126722c59805191812f1a9480bd2be285 (patch) | |
tree | 958d28c8079d81e43c83014d9b2df36a83aab2cd /Makefile | |
parent | 1fea3145f1a595de561527888ffc961bdf7907af (diff) | |
download | dexon-bls-5ac928a126722c59805191812f1a9480bd2be285.tar dexon-bls-5ac928a126722c59805191812f1a9480bd2be285.tar.gz dexon-bls-5ac928a126722c59805191812f1a9480bd2be285.tar.bz2 dexon-bls-5ac928a126722c59805191812f1a9480bd2be285.tar.lz dexon-bls-5ac928a126722c59805191812f1a9480bd2be285.tar.xz dexon-bls-5ac928a126722c59805191812f1a9480bd2be285.tar.zst dexon-bls-5ac928a126722c59805191812f1a9480bd2be285.zip |
Add DYLD_LIBRARY_PATH to fix mac test_go failure
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -89,9 +89,9 @@ sample_test: $(EXE_DIR)/bls_smpl.exe ifeq ($(OS),mac) MAC_GO_LDFLAGS="-ldflags=-s" endif -# PATH is for mingw, LD_RUN_PATH is for linux +# PATH is for mingw, LD_RUN_PATH is for linux, DYLD_LIBRARY_PATH is for mac test_go: ffi/go/bls/bls.go ffi/go/bls/bls_test.go $(BLS384_SLIB) - cd ffi/go/bls && env PATH=$$PATH:../../../lib LD_RUN_PATH="../../../lib" go test $(MAC_GO_LDFLAGS) . + cd ffi/go/bls && env PATH=$$PATH:../../../lib LD_RUN_PATH="../../../lib" DYLD_LIBRARY_PATH="../../../lib" go test $(MAC_GO_LDFLAGS) . EMCC_OPT=-I./include -I./src -I../cybozulib/include -I../mcl/include -I./ -Wall -Wextra EMCC_OPT+=-O3 -DNDEBUG |