aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-06-07 07:26:22 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-06-07 07:26:22 +0800
commit10d39359540fc7fbc4ca6adc8d74deea475bf2bf (patch)
treef0df1f7a8e3ef2e03f188acb7eee8d681ac77d5e /Makefile
parent6a59ca023e4bef10f1f4f1eea3903ccdecea2d5e (diff)
downloaddexon-bls-10d39359540fc7fbc4ca6adc8d74deea475bf2bf.tar
dexon-bls-10d39359540fc7fbc4ca6adc8d74deea475bf2bf.tar.gz
dexon-bls-10d39359540fc7fbc4ca6adc8d74deea475bf2bf.tar.bz2
dexon-bls-10d39359540fc7fbc4ca6adc8d74deea475bf2bf.tar.lz
dexon-bls-10d39359540fc7fbc4ca6adc8d74deea475bf2bf.tar.xz
dexon-bls-10d39359540fc7fbc4ca6adc8d74deea475bf2bf.tar.zst
dexon-bls-10d39359540fc7fbc4ca6adc8d74deea475bf2bf.zip
unify mcl.a
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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: