mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Stop static linking libstdc++ in release builds
* This seemed to cause crashes on some systems as libproxy links to libstdc++ and can then cause symbol conflicts between the static libstdc++ and the system's libstdc++. * libproxy itself cannot be statically linked, so the solution is either to configure Qt without libproxy and break anyone who needs proxy support, or stop statically linking libstdc++ and add a new dependency. At commit time most distributions have at least g++-5's libstdc++ in their minspec so we can require that - the main two that seem to fall short are Debian Jessie and CentOS 7. Users on those systems will have to install a newer libstdc++ or compile from source rather than using the binary releases.
This commit is contained in:
@@ -16,7 +16,7 @@ wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||
apt-get update
|
||||
|
||||
# install dependencies
|
||||
apt-get install --force-yes -y libx11-dev libx11-xcb-dev mesa-common-dev libgl1-mesa-dev gcc g++ clang-3.8 clang++-3.8 make pkg-config git libcurl4-openssl-dev libpcre3-dev libstdc++-6-dev
|
||||
apt-get install --force-yes -y libx11-dev libx11-xcb-dev mesa-common-dev libgl1-mesa-dev gcc-5 g++-5 clang-3.8 clang++-3.8 make pkg-config git libcurl4-openssl-dev libpcre3-dev
|
||||
|
||||
# install dependencies for building qt
|
||||
apt-get install --force-yes -y libproxy-dev autoconf autogen libtool xutils-dev bison
|
||||
|
||||
Reference in New Issue
Block a user