Skip to content

Commit 573cf5c

Browse files
Branislav Rankovacmel
authored andcommitted
perf build: Add missing -lstdc++ when linking with libopencsd
Add -lstdc++ to perf when linking libopencsd as it is a dependency. It does not hurt to add it when dynamic linking. Signed-off-by: Branislav Rankov <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mark Brown <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tamas Zsoldos <[email protected]> [ Split from a larger patch ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent b947299 commit 573cf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/Makefile.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ FEATURE_CHECK_LDFLAGS-libcrypto = -lcrypto
143143
ifdef CSINCLUDES
144144
LIBOPENCSD_CFLAGS := -I$(CSINCLUDES)
145145
endif
146-
OPENCSDLIBS := -lopencsd_c_api -lopencsd
146+
OPENCSDLIBS := -lopencsd_c_api -lopencsd -lstdc++
147147
ifdef CSLIBS
148148
LIBOPENCSD_LDFLAGS := -L$(CSLIBS)
149149
endif

0 commit comments

Comments
 (0)