From 5efaad19974df4c026f104b7b0763b911d9f7cae Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 17 Jan 2015 21:48:42 +0100 Subject: [PATCH] Move conditionals --- src/libsodium/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libsodium/Makefile.am b/src/libsodium/Makefile.am index 6066b890..c45119dc 100644 --- a/src/libsodium/Makefile.am +++ b/src/libsodium/Makefile.am @@ -1,12 +1,6 @@ lib_LTLIBRARIES = \ libsodium.la -if !EMSCRIPTEN -libsodium_la_SOURCES += \ - randombytes/salsa20/randombytes_salsa20_random.c \ - randombytes/sysrandom/randombytes_sysrandom.c -endif - libsodium_la_SOURCES = \ crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c \ crypto_auth/crypto_auth.c \ @@ -160,6 +154,12 @@ libsodium_la_SOURCES = \ sodium/utils.c \ sodium/version.c +if !EMSCRIPTEN +libsodium_la_SOURCES += \ + randombytes/salsa20/randombytes_salsa20_random.c \ + randombytes/sysrandom/randombytes_sysrandom.c +endif + if HAVE_TI_MODE libsodium_la_SOURCES += \ crypto_scalarmult/curve25519/donna_c64/api.h \