From 10d39359540fc7fbc4ca6adc8d74deea475bf2bf Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Wed, 7 Jun 2017 08:26:22 +0900 Subject: unify mcl.a --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 37bec74..32b3936 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,6 @@ $(BLS384_LIB): $(LIB_OBJ) $(OBJ_DIR)/bls_c384.o $(AR) $@ $(LIB_OBJ) $(OBJ_DIR)/bls_c384.o $(BLS384_SLIB): $(OBJ_DIR)/bls_c384.o $(MCL_LIB) -# $(PRE)$(CXX) -shared -o $@ -Wl,--whole-archive $(BLS384_LIB) $(BN384_LIB) $(MCL_LIB) -Wl,--no-whole-archive $(PRE)$(CXX) -shared -o $@ $(OBJ_DIR)/bls_c384.o $(MCL_LIB) VPATH=test sample src @@ -73,7 +72,7 @@ test: $(TEST_EXE) @grep -v "ng=0, exception=0" result.txt; if [ $$? -eq 1 ]; then echo "all unit tests succeed"; else exit 1; fi test_go: go/bls/bls.go go/bls/bls_test.go $(BLS384_SLIB) - cd go/bls && env CGO_CFLAGS="-I../../include -I../../../mcl/include" CGO_LDFLAGS="-L../../lib -L../../../mcl/lib" LD_LIBRARY_PAHT=../../lib go test . + cd go/bls && env CGO_CFLAGS="-I../../include -I../../../mcl/include" CGO_LDFLAGS="-L../../lib -L../../../mcl/lib" LD_LIBRARY_PATH=../../lib go test . # cd go/bls && go test -tags $(GO_TAG) -v . clean: -- cgit v1.2.3