Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: vDSO: add --cflags for pkg-config command querying libsodium

When libsodium is installed into its own prefix, the --cflags output is
needed for the compiler to find libsodium headers.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

authored by

Xi Ruoyao and committed by
Jason A. Donenfeld
1e661b34 e1bbcab4

+1 -1
+1 -1
tools/testing/selftests/vDSO/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 uname_M := $(shell uname -m 2>/dev/null || echo not) 3 3 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 4 - SODIUM := $(shell pkg-config --libs libsodium 2>/dev/null) 4 + SODIUM := $(shell pkg-config --libs --cflags libsodium 2>/dev/null) 5 5 6 6 TEST_GEN_PROGS := vdso_test_gettimeofday 7 7 TEST_GEN_PROGS += vdso_test_getcpu