File: bin-wrapper.in

package info (click to toggle)
gcc-11 11.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 87,056 kB
  • sloc: makefile: 2,640; sh: 1,132; python: 1,110; awk: 23; cpp: 14
file content (11 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (43)
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) "$@"