Skip to content

Commit

Permalink
Merge branch 'nist-branch' of github.com:open-quantum-safe/liboqs int…
Browse files Browse the repository at this point in the history
…o nist-branch
  • Loading branch information
dstebila committed Nov 13, 2018
2 parents 2189009 + d7596cb commit a551366
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ ifeq ($(DETECTED_OS), Linux)
endif
endif

LDFLAGS+=-Wl,-rpath,${OPENSSL_LIB_DIR}
ifeq ($(DETECTED_OS), Linux)
LDFLAGS+=-Wl,--enable-new-dtags
endif
LDFLAGS+=-L$(OPENSSL_LIB_DIR) -lcrypto -lm

KECCAK_INCLUDE_DIR=vendor/XKCP-master/bin/generic64
Expand Down Expand Up @@ -157,7 +161,7 @@ libkeccak:
liboqs: libkeccak headers $(OBJECTS) $(UPSTREAMS)
$(RM) -f liboqs.a
ar rcs liboqs.a `find .objs -name '*.a'` `find .objs -name '*.o'`
gcc -shared -o liboqs.so `find .objs -name '*.a'` `find .objs -name '*.o'` -L$(OPENSSL_LIB_DIR) -lcrypto
gcc -shared -o liboqs.so `find .objs -name '*.a'` `find .objs -name '*.o'` ${LDFLAGS}

TEST_PROGRAMS=test_kem test_kem_shared test_sig test_sig_shared
$(TEST_PROGRAMS): liboqs
Expand Down

0 comments on commit a551366

Please sign in to comment.