fix build on FreeBSD/i386 8.x
PR: 187090 Submitted by: tijl@
This commit is contained in:
parent
03dc71ceac
commit
494ad0d2ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347160
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue