mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
Merge pull request #1241 from marineam/local-fix
spidermonkey: fix improper error handling
This commit is contained in:
commit
3fa2cd90e6
@ -56,6 +56,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local nspr_cflags nspr_libs
|
||||
cd "${BUILDDIR}" || die
|
||||
|
||||
# Mozilla screws up the meaning of BUILD, HOST, and TARGET :(
|
||||
@ -67,8 +68,8 @@ src_configure() {
|
||||
HOST_AR="${BUILD_AR}" HOST_RANLIB="${BUILD_RANLIB}"
|
||||
|
||||
# Use pkg-config instead of nspr-config to use $SYSROOT
|
||||
local nspr_cflags="$(${PKG_CONFIG} --cflags nspr)" || die
|
||||
local nspr_libs="$(${PKG_CONFIG} --libs nspr)" || die
|
||||
nspr_cflags="$(${PKG_CONFIG} --cflags nspr)" || die
|
||||
nspr_libs="$(${PKG_CONFIG} --libs nspr)" || die
|
||||
|
||||
econf \
|
||||
${myopts} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user