diff --git a/config/autoconf.mk.in b/config/autoconf.mk.in index 8f2f0cc36e2..f0299b20418 100644 --- a/config/autoconf.mk.in +++ b/config/autoconf.mk.in @@ -179,6 +179,7 @@ XPCOM_LIBS=@XPCOM_LIBS@ MOZ_TIMELINE=@MOZ_TIMELINE@ ENABLE_STRIP = @ENABLE_STRIP@ +PKG_SKIP_STRIP = @PKG_SKIP_STRIP@ ClientWallet=1 CookieManagement=1 diff --git a/configure.in b/configure.in index de0438aa6a8..052a9c5d447 100644 --- a/configure.in +++ b/configure.in @@ -6123,6 +6123,14 @@ MOZ_ARG_ENABLE_BOOL(strip, ENABLE_STRIP=1, ENABLE_STRIP= ) +dnl ======================================================== +dnl = Enable stripping of libs & executables when packaging +dnl ======================================================== +MOZ_ARG_ENABLE_BOOL(install-strip, +[ --enable-install-strip Enable stripping of libs & executables when packaging ], + PKG_SKIP_STRIP= , + PKG_SKIP_STRIP=1) + dnl ======================================================== dnl = --enable-elf-dynstr-gc dnl ======================================================== @@ -7471,6 +7479,7 @@ AC_SUBST(MOZ_CRASHREPORTER) AC_SUBST(MOZ_MOCHITEST) AC_SUBST(ENABLE_STRIP) +AC_SUBST(PKG_SKIP_STRIP) AC_SUBST(USE_ELF_DYNSTR_GC) AC_SUBST(USE_PREBINDING) AC_SUBST(INCREMENTAL_LINKER)