diff options
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 313c42423393..b17edbcd98cc 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -2801,11 +2801,11 @@ int find_scripts(char **scripts_array, char **scripts_path_array) | |||
2801 | for_each_lang(scripts_path, scripts_dir, lang_dirent) { | 2801 | for_each_lang(scripts_path, scripts_dir, lang_dirent) { |
2802 | scnprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, | 2802 | scnprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, |
2803 | lang_dirent->d_name); | 2803 | lang_dirent->d_name); |
2804 | #ifdef NO_LIBPERL | 2804 | #ifndef HAVE_LIBPERL_SUPPORT |
2805 | if (strstr(lang_path, "perl")) | 2805 | if (strstr(lang_path, "perl")) |
2806 | continue; | 2806 | continue; |
2807 | #endif | 2807 | #endif |
2808 | #ifdef NO_LIBPYTHON | 2808 | #ifndef HAVE_LIBPYTHON_SUPPORT |
2809 | if (strstr(lang_path, "python")) | 2809 | if (strstr(lang_path, "python")) |
2810 | continue; | 2810 | continue; |
2811 | #endif | 2811 | #endif |