Bug 1314546 - Fix library loading on artifact builds draft
authorAndrzej Hunt <ahunt@mozilla.com>
Wed, 02 Nov 2016 10:36:32 +0100
changeset 432540 7247cfcf5a00155081ff10bab85c2b1922439f0f
parent 432230 3e73fd638e687a4d7f46613586e5156b8e2af846
child 432797 c9f931604d51e833be1255f4e5812beb2792d7fd
push id34356
push userahunt@mozilla.com
push dateWed, 02 Nov 2016 09:37:04 +0000
bugs1314546
milestone52.0a1
Bug 1314546 - Fix library loading on artifact builds This appears to convince ElfLoader to load our (compressed?) so's the right way for artifact builds too. I am completely unfamiliar in this area, and this doesn't seem like a landable patch - but it's good enough for my local development for now. MozReview-Commit-ID: 8kpzgVauM94
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -947,16 +947,17 @@ case "$target" in
     AC_DEFINE(NO_PW_GECOS)
     if test -n "$gonkdir"; then
         _PLATFORM_HAVE_RIL=1
         MOZ_SYNTH_PICO=1
     else
         if test "$COMPILE_ENVIRONMENT"; then
             MOZ_LINKER=1
         fi
+        MOZ_LINKER_EXTRACT=1
     fi
 
     MOZ_GFX_OPTIMIZE_MOBILE=1
     MOZ_OPTIMIZE_FLAGS="-Os"
     if test -z "$CLANG_CC"; then
        MOZ_OPTIMIZE_FLAGS="-freorder-blocks -fno-reorder-functions $MOZ_OPTIMIZE_FLAGS"
     fi
     ;;