mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-28 22:21:15 -07:00
Don't include randombyte - move it to a different library.
This commit is contained in:
parent
048da52209
commit
87af79c629
@ -36,7 +36,7 @@ Installation is trivial, and both compilation and testing can take
|
||||
advantage of multiple CPU cores:
|
||||
|
||||
./configure
|
||||
make check && make install
|
||||
make && make check && make install
|
||||
|
||||
## Comparison with vanilla NaCl
|
||||
|
||||
|
@ -2,9 +2,14 @@
|
||||
lib_LTLIBRARIES = \
|
||||
libsodium.la
|
||||
|
||||
libsodium_la_SOURCES = \
|
||||
noinst_LTLIBRARIES = \
|
||||
libsodium-randombytes.la
|
||||
|
||||
libsodium_randombytes_la_SOURCES = \
|
||||
randombytes/devurandom.c \
|
||||
randombytes/devurandom.h \
|
||||
randombytes/devurandom.h
|
||||
|
||||
libsodium_la_SOURCES = \
|
||||
crypto_core/hsalsa20/ref2/core_hsalsa20.c \
|
||||
crypto_core/hsalsa20/ref2/crypto_core.h \
|
||||
crypto_core/salsa20/ref/core_salsa20.c \
|
||||
@ -82,7 +87,6 @@ EXTRA_DIST = \
|
||||
libsodium_la_LDFLAGS = \
|
||||
$(AM_LDFLAGS) \
|
||||
-export-dynamic \
|
||||
-no-undefined \
|
||||
-version-info $(SODIUM_LIBRARY_VERSION)
|
||||
|
||||
libsodium_la_CPPFLAGS = \
|
||||
|
@ -77,7 +77,9 @@ check_PROGRAMS = $(TESTS_TARGETS)
|
||||
|
||||
TESTS = $(TESTS_TARGETS)
|
||||
|
||||
TESTS_LDADD = ${top_builddir}/src/libsodium/libsodium.la
|
||||
TESTS_LDADD = \
|
||||
${top_builddir}/src/libsodium/libsodium.la \
|
||||
${top_builddir}/src/libsodium/libsodium-randombytes.la
|
||||
|
||||
auth_SOURCE = cmptest.h auth.c
|
||||
auth_LDADD = $(TESTS_LDADD)
|
||||
|
Loading…
Reference in New Issue
Block a user