nspr: unbreak cross (take 2).

This commit is contained in:
Juan RP 2015-05-08 08:30:54 +02:00
parent 78e07e35d1
commit baa571b9ad

View file

@ -27,7 +27,11 @@ do_configure() {
--enable-debug --enable-ipv6 ${_args}
}
do_build() {
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