diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-27 17:28:03 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-29 09:46:44 +0000 |
commit | 785eb0ed14cde731c2795f68f004f0b811cfe387 (patch) | |
tree | e61ef346d838ddd1953270351ddb31ace6e4cd0f /libreofficekit | |
parent | tdf#95386 Remove remaining mentions of Help Agent (diff) | |
download | core-785eb0ed14cde731c2795f68f004f0b811cfe387.tar.gz core-785eb0ed14cde731c2795f68f004f0b811cfe387.zip |
gbuild: try to avoid invoking gdb with LD_LIBRARY_PATH set
Commit b078e0d638514b298616838fae090b8294bac32f introduced the problem
that gdb will load via LD_LIBRARY_PATH the libpython3.5m.so.1.0 from
INSTDIR instead of the one from the system, which makes it unhappy (at
least on Fedora 24).
Try to hack around that by detecting that the user wants to run gdb, and
passing in a command "set environment LD_LIBRARY_PATH ..." so that "run"
inside gdb uses the custom LD_LIBRARY_PATH but gdb itself does not.
Change-Id: I1d29d2af1a77ffab3e718a876c17c29de444c6d9
Reviewed-on: https://gerrit.libreoffice.org/29349
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'libreofficekit')
0 files changed, 0 insertions, 0 deletions