From a714bab04bcc7b48cdf2a25e6a86c3043fb4770a Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Fri, 29 Jun 2012 14:31:53 +0100 Subject: [PATCH] Fix symbols generation on Linux We are linking against e.g. libQtCore.so.4 rather than libQtCore.so.4.8.2, and this affects symbol generation. (I am not sure if this changed at some point, but this change should make it generate the correct symbol files regardless.) Also makes it less dependent on the Qt version. --- tools/dump-symbols.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/dump-symbols.sh b/tools/dump-symbols.sh index 0b20bb60..dcc39138 100755 --- a/tools/dump-symbols.sh +++ b/tools/dump-symbols.sh @@ -21,10 +21,7 @@ if [[ $OSTYPE = darwin* ]]; then # To compile this program, run ../src/qt/bin/qmake dump-syms-mac.pro && make from tools/ dump_syms="tools/dump_syms.app/Contents/MacOS/dump_syms" else - files+="src/qt/lib/libQtCore.so.4.8.2 " - files+="src/qt/lib/libQtWebKit.so.4.9.2 " - files+="src/qt/lib/libQtGui.so.4.8.2 " - files+="src/qt/lib/libQtNetwork.so.4.8.2" + files+=`ldd bin/phantomjs | grep Qt | cut -d ' ' -f 3 | xargs` # To compile this program, run ./configure && make from src/breakpad/ dump_syms="src/breakpad/src/tools/linux/dump_syms/dump_syms"