summaryrefslogtreecommitdiffstats
path: root/bin/check-elf-dynamic-objects
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-08 16:05:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-08 22:00:58 +0100
commitd4347f5d585232e1b025b4199ded53e6619d6242 (patch)
treee59e593a81ae74c0ec78e2482aaa5bd5fbe36d1f /bin/check-elf-dynamic-objects
parentcolor picker behaviour changed (diff)
downloadcore-d4347f5d585232e1b025b4199ded53e6619d6242.tar.gz
core-d4347f5d585232e1b025b4199ded53e6619d6242.zip
Fix external/gpgmepp Linux RPATH
In other external projects using libtool, we fix that by patching configure, resetting hardcode_libdir_flag_spec[_CXX] at the end of the linux*) case block that sets the Linux-specific value. But here we run autoreconf in ExternalProject_libassuan, so that patch in configure would be overwritten. The relevant code in configure comes from autoconf boilerplate, so we cannot just do the same patch in configure.ac. But we can reset hardcode_libdir_flag_spec sufficiently late in configure.ac so that things still work as intended. Disable tests that would build executabes linking against libgpgme.so, which in turn links against the libassuan and libgpg-error libs, which would no longer be found by the linker because of the dropped -rpath flags. (Alternatives might be to pass in LD_LIBRARY_PATH or to link with --allow-shlib-undefined.) Change-Id: I7e37abf802d213347bd80383b7980d85cf0762d4 Reviewed-on: https://gerrit.libreoffice.org/50960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bin/check-elf-dynamic-objects')
-rwxr-xr-xbin/check-elf-dynamic-objects5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/check-elf-dynamic-objects b/bin/check-elf-dynamic-objects
index 4e3a4fccec44..5c484598b3b6 100755
--- a/bin/check-elf-dynamic-objects
+++ b/bin/check-elf-dynamic-objects
@@ -230,10 +230,7 @@ else
if [ -s check_elf.out ] ; then
cat check_elf.out
- # FIXME known broken, ignore for now
- if grep -v 'libgpgmepp.so.6\|libgpgme.so.11' check_elf.out >/dev/null; then
- status=1
- fi
+ status=1
fi
rm check_elf.out
fi