firefox: fix system libffi usage

Since Firefox 51 the --enable-system-ffi flag was renamed to
--with-systemd-ffi when it moved to the javascript toolkit parts. Rename
the flag accordingly and reintroduce the dependency.

mozbz#1294803
This commit is contained in:
Martin Weinelt 2022-03-21 18:16:55 +01:00
parent 08ea534e67
commit 51e5f33899
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -16,6 +16,7 @@
, freetype, fontconfig, file, nspr, nss
, libGLU, libGL, sqlite, unzip, makeWrapper
, hunspell, libevent, libstartup_notification
, libffi
, libvpx
, libwebp
, icu, libpng, glib, pciutils
@ -157,6 +158,7 @@ buildStdenv.mkDerivation ({
libevent libstartup_notification
libpng glib
nasm icu libvpx
libffi
libwebp
nspr nss
]
@ -224,13 +226,13 @@ buildStdenv.mkDerivation ({
configureFlags = [
"--enable-application=${application}"
"--with-system-ffi"
"--with-system-jpeg"
"--with-system-zlib"
"--with-system-libevent"
"--with-system-libvpx"
"--with-system-png" # needs APNG support
"--with-system-icu"
"--enable-system-ffi"
"--enable-system-pixman"
"--disable-tests"
"--disable-updater"