Skip to content

Commit 604e213

Browse files
olsajiriacmel
authored andcommitted
perf ui gtk: Add missing zalloc object
When we moved zalloc.o to the library we missed gtk library which needs it compiled in, otherwise the missing __zfree symbol will cause the library to fail to load. Adding the zalloc object to the gtk library build. Fixes: 7f7c536 ("tools lib: Adopt zalloc()/zfree() from tools/perf") Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jelle van der Waa <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent fc8c0a9 commit 604e213

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/perf/ui/gtk/Build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ gtk-y += util.o
77
gtk-y += helpline.o
88
gtk-y += progress.o
99
gtk-y += annotate.o
10+
gtk-y += zalloc.o
11+
12+
$(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE
13+
$(call rule_mkdir)
14+
$(call if_changed_dep,cc_o_c)

0 commit comments

Comments
 (0)