nspr: unbreak cross (take 2).
This commit is contained in:
parent
78e07e35d1
commit
baa571b9ad
|
@ -27,7 +27,11 @@ do_configure() {
|
||||||
--enable-debug --enable-ipv6 ${_args}
|
--enable-debug --enable-ipv6 ${_args}
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC CXX=$CXX ${makejobs}
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
make ${makejobs}
|
||||||
|
else
|
||||||
|
make CC=$CC CXX=$CXX ${makejobs}
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
ln -s nspr.pc ${DESTDIR}/usr/lib/pkgconfig/mozilla-nspr.pc
|
ln -s nspr.pc ${DESTDIR}/usr/lib/pkgconfig/mozilla-nspr.pc
|
||||||
|
|
Loading…
Reference in New Issue