nspr: unbreak cross (take 2).
This commit is contained in:
parent
78e07e35d1
commit
baa571b9ad
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue