nspr: unbreak cross (take 2).

This commit is contained in:
Juan RP 2015-05-08 08:30:54 +02:00
parent 78e07e35d1
commit baa571b9ad
1 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,11 @@ do_configure() {
--enable-debug --enable-ipv6 ${_args}
}
do_build() {
make CC=$CC CXX=$CXX ${makejobs}
if [ "$CROSS_BUILD" ]; then
make ${makejobs}
else
make CC=$CC CXX=$CXX ${makejobs}
fi
}
post_install() {
ln -s nspr.pc ${DESTDIR}/usr/lib/pkgconfig/mozilla-nspr.pc