diff options
Diffstat (limited to 'tools/perf/util/setup.py')
-rw-r--r-- | tools/perf/util/setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/setup.py b/tools/perf/util/setup.py index d48f9cd58964..aa344a163eaf 100644 --- a/tools/perf/util/setup.py +++ b/tools/perf/util/setup.py | |||
@@ -59,6 +59,8 @@ ext_sources = list(map(lambda x: '%s/%s' % (src_perf, x) , ext_sources)) | |||
59 | extra_libraries = [] | 59 | extra_libraries = [] |
60 | if '-DHAVE_LIBNUMA_SUPPORT' in cflags: | 60 | if '-DHAVE_LIBNUMA_SUPPORT' in cflags: |
61 | extra_libraries = [ 'numa' ] | 61 | extra_libraries = [ 'numa' ] |
62 | if '-DHAVE_LIBCAP_SUPPORT' in cflags: | ||
63 | extra_libraries += [ 'cap' ] | ||
62 | 64 | ||
63 | perf = Extension('perf', | 65 | perf = Extension('perf', |
64 | sources = ext_sources, | 66 | sources = ext_sources, |