mirror of https://github.com/vitalif/phantomjs
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.1.6
parent
14d9c0cdde
commit
cffc41174c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue