sbis-libstdc++.sh 209 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/sh -x

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

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

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