Skip to content

Commit

Permalink
Fix missing pkg-config flags
Browse files Browse the repository at this point in the history
  • Loading branch information
LoupVaillant committed Jan 15, 2024
1 parent be35946 commit 1d2f5cc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/speed/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,17 @@ $(TSSH_O):
speed.o : speed.c speed.h ../utils.h
$(CC) -c $(CFLAGS) $< -o $@ -I .. -I ../../src/ -I ../../src/optional
speed-sodium.o : speed-sodium.c speed.h ../utils.h
$(CC) -c $(CFLAGS) $< -o $@ -I ..
$(CC) -c $(CFLAGS) $< -o $@ -I .. \
`pkg-config --cflags libsodium`
speed-hydrogen.o : speed-hydrogen.c speed.h ../utils.h
$(CC) -c $(CFLAGS) $< -o $@ -I ..
$(CC) -c $(CFLAGS) $< -o $@ -I .. \
`pkg-config --cflags libhydrogen`
speed-tweetnacl.o : speed-tweetnacl.c speed.h ../utils.h $(TWEET_HEADERS)
$(CC) -c $(CFLAGS) $< -o $@ -I .. -I ../externals/tweetnacl
speed-c25519.o : speed-c25519.c speed.h ../utils.h $(C25519_HEADERS)
$(CC) -c $(CFLAGS) $< -o $@ -I .. -I ../externals/c25519
speed-donna.o : speed-donna.c speed.h ../utils.h $(DONNA_HEADERS)
speed-donna.o : speed-donna.c speed.h ../utils.h $(DONNA_HEADERS) \
`pkg-config --cflags libsodium`
$(CC) -c $(CFLAGS) $< -o $@ -I .. -I ../externals/ed25519-donna
speed-tinyssh.o : speed-tinyssh.c speed.h ../utils.h $(TSSH_H)
$(CC) -c $(CFLAGS) $< -o $@ -I .. -I $(TSSH)
Expand Down

0 comments on commit 1d2f5cc

Please sign in to comment.