]> git.codecow.com Git - Monocypher.git/commitdiff
Forgot Libsodium include dependency
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 28 Jan 2019 23:20:31 +0000 (00:20 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 28 Jan 2019 23:20:31 +0000 (00:20 +0100)
tests/gen/makefile

index eb5369df884224342d9b564df2c8979af2379d52..484da48df64e1b5e4ac76618f4d2d5807f5f0a6a 100644 (file)
@@ -33,12 +33,13 @@ clean:
             $$(pkg-config --libs libsodium)
 
 ed25519.o: ../ed25519-donna/ed25519.c  $(wildcard ../ed25519-donna/*.h)
-       $(CC) $(CFLAGS) -c $<       \
-            -I ../../src            \
-            -I ../../src/optional   \
-            -DED25519_CUSTOMHASH    \
-            -DED25519_TEST          \
-            -DED25519_NO_INLINE_ASM \
+       $(CC) $(CFLAGS) -c $<                 \
+            -I ../../src                      \
+            -I ../../src/optional             \
+            $$(pkg-config --cflags libsodium) \
+            -DED25519_CUSTOMHASH              \
+            -DED25519_TEST                    \
+            -DED25519_NO_INLINE_ASM           \
             -DED25519_FORCE_32BIT
 
 vector_to_header.out: ../vector_to_header.c