• Naohiro Aota's avatar
    perf python: Fix dependency for python/perf.so · 707ef2e6
    Naohiro Aota authored
    The python/perf.so binding lacks dependency for libtraceevent.a so that
    it cause the following error building python/perf.so. This patch
    introduce the dependency for it.
    
       $ make python/perf.so
           CHK -fstack-protector-all
           CHK -Wstack-protector
           CHK -Wvolatile-register-var
           CHK -D_FORTIFY_SOURCE=2
           CHK bionic
           CHK libelf
           CHK libdw
           CHK libunwind
           CHK -DLIBELF_MMAP
           CHK libaudit
           CHK libnewt
           CHK gtk2
           CHK -DHAVE_GTK_INFO_BAR
           CHK perl
           CHK python
           CHK python version
           CHK libbfd
           CHK -DHAVE_STRLCPY
           CHK -DHAVE_ON_EXIT
           CHK -DBACKTRACE_SUPPORT
           CHK libnuma
           GEN python/perf.so
       x86_64-pc-linux-gnu-gcc: error: ../lib/traceevent/libtraceevent.a: No such file or directory
       error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
       cp: cannot stat 'python_ext_build/lib/perf.so': No such file or directory
       make: *** [python/perf.so] Error 1
    Signed-off-by: default avatarNaohiro Aota <naota@elisp.net>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/87wqswzznx.fsf@locke.i-did-not-set--mail-host-address--so-tickle-meSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    707ef2e6
Makefile 39.6 KB