86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
done
mkdir "${OUTDIR}/lib" || exit 1
cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/"
cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/
rm -rf "${OUTDIR}/lib"/tk*/demos
strip -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null
find "${OUTDIR}" -type f -name '*.a' | xargs rm -f >/dev/null 2>/dev/null
break
done
exit 0
) || exit 1
|
|
|
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
done
mkdir "${OUTDIR}/lib" || exit 1
cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/"
cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/
rm -rf "${OUTDIR}/lib"/tk*/demos
"${STRIP:-strip}" -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null
find "${OUTDIR}" -type f -name '*.a' | xargs rm -f >/dev/null 2>/dev/null
break
done
exit 0
) || exit 1
|