diff options
author | Ovidiu Panait <ovpanait@gmail.com> | 2021-09-26 18:54:00 +0300 |
---|---|---|
committer | Ovidiu Panait <ovpanait@gmail.com> | 2021-09-26 19:03:14 +0300 |
commit | 512c0f3c609368f7a848afb433b3edc74025d88f (patch) | |
tree | c7e69f7d66c23f89517dbbabaf40b698bee6d048 /tests | |
parent | 3cfd9a6637a3a1f102839eedff69cab3e0a24985 (diff) | |
download | patchelf-512c0f3c609368f7a848afb433b3edc74025d88f.tar.gz |
configure.ac: add check for strip
Currently, "make check" fails on Ubuntu 20.04 because the STRIP variable is not
set in the resulting tests/Makefile:
"""
git clone https://github.com/NixOS/patchelf.git
./bootstrap.sh
./configure
make VERBOSE=1 check
...
gcc -fPIC -shared -o libbig-dynstr.so big-dynstr.c
only-keep-debug libbig-dynstr.so -o libbig-dynstr.debug
/bin/bash: only-keep-debug: command not found
make[2]: [Makefile:1526: libbig-dynstr.debug] Error 127 (ignored)
...
FAIL: no-dynamic-section.sh
===========================
patchelf: getting info about 'libbig-dynstr.debug': No such file or directory
FAIL no-dynamic-section.sh (exit status: 1)
"""
strip is used by the regression testsuite, so add a check for it configure.ac.
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 6ad76f4..af9a838 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,5 @@ LIBS = -STRIP ?= strip - check_PROGRAMS = simple-pie simple main too-many-strtab main-scoped big-dynstr no-rpath contiguous-note-sections no_rpath_arch_TESTS = \ |