fix build on FreeBSD/i386 8.x

PR:		187090
Submitted by:	tijl@
This commit is contained in:
Maho Nakata 2014-03-06 02:58:44 +00:00
parent 03dc71ceac
commit 494ad0d2ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347160

View file

@ -90,7 +90,7 @@ post-build:
${MV} ${WRKSRC_SHARED}/LIB/blacsCinit_MPI-FreeBSD-${DEBUG_LEVEL}.a ${WRKSRC_SHARED}/LIB/libblacs.a
${FIND} ${WRKSRC_SHARED} -name "*\.a" -exec ${MV} {} ${WRKDIR}/tmp_shared \;
cd ${WRKDIR}/tmp_shared ; for i in `ls *.a | ${SED} 's/\.a//' `; do \
ld -Bshareable -o $${i}.so.${SVERSION} -x -soname $${i}.so.${SVERSION} --whole-archive $${i}.a ;\
${LD} -Bshareable -o $${i}.so.${SVERSION} -x -soname $${i}.so.${SVERSION} --whole-archive $${i}.a ;\
${LN} -s $${i}.so.${SVERSION} $${i}.so ;\
done