sbis-libstdc++.sh 255 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/sh -x

# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"

7 8
. $(dirname $0)/common.sh

9 10 11 12
LIBPATH="$(cd $BUILDROOT ; echo opt/gcc-*/lib64)"

# find provides there
subst "1i%set_findprov_lib_path /$LIBPATH" $SPEC
13 14

set_autoreq 'yes'