~angelsl/ubuntu/wily/gcc-5/mips-cross

« back to all changes in this revision

Viewing changes to debian/bin-wrapper.in

  • Committer: angelsl
  • Date: 2015-10-30 03:30:35 UTC
  • Revision ID: angelsl-20151030033035-rmug41zm8hyjgisg
Original import

Show diffs side-by-side

added added

removed removed

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