blob: f8ca63bd1f5b89838f4a86f90b1946aea6dacbfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/sh
# some build tools are linked with a new libstdc++ and fail to run
# when building libstdc++.
if [ -n "$LD_LIBRARY_PATH" ]; then
ma=$(dpkg-architecture -qDEB_BUILD_MULTIARCH)
export LD_LIBRARY_PATH="/lib/$ma:/usr/lib/$ma:/lib:/usr/lib:$LD_LIBRARY_PATH"
fi
exec /usr/bin/$(basename $0) "$@"
|