mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Fix something that was very with the last checkin. Dont strip .a files
dumbass. Approved by the Bastard Operator From Hell.
This commit is contained in:
parent
6b42c59577
commit
2cfdd9b573
@ -56,7 +56,7 @@ CookieManagement=@CookieManagement@
|
||||
SingleSignon=@SingleSignon@
|
||||
|
||||
MOZ_POST_DSO_LIB_COMMAND = @MOZ_POST_DSO_LIB_COMMAND@
|
||||
MOZ_POST_AR_LIB_COMMAND = @MOZ_POST_AR_LIB_COMMAND@
|
||||
MOZ_POST_PROGRAM_COMMAND = @MOZ_POST_PROGRAM_COMMAND@
|
||||
|
||||
MOZ_ENABLE_GTK_MOZILLA = @MOZ_ENABLE_GTK_MOZILLA@
|
||||
MOZ_BUILD_ROOT = @MOZ_BUILD_ROOT@
|
||||
|
@ -467,8 +467,10 @@ endif
|
||||
$(SIMPLE_PROGRAMS):$(OBJDIR)/%: $(OBJDIR)/%.o $(EXTRA_DEPS)
|
||||
ifeq ($(CPP_PROG_LINK),1)
|
||||
$(CCC) $(WRAP_MALLOC_CFLAGS) -o $@ $< $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS) $(WRAP_MALLOC_LIB)
|
||||
$(MOZ_POST_PROGRAM_COMMAND) $@
|
||||
else
|
||||
$(CC) -o $@ $< $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS) $(WRAP_MALLOC_LIB)
|
||||
$(MOZ_POST_PROGRAM_COMMAND) $@
|
||||
endif
|
||||
|
||||
#
|
||||
@ -524,20 +526,17 @@ endif
|
||||
$(AR) $(OBJS) $(LOBJS) $(SUB_LOBJS)
|
||||
$(RANLIB) $@
|
||||
@rm -f foodummyfilefoo $(SUB_LOBJS)
|
||||
$(MOZ_POST_AR_LIB_COMMAND) $@
|
||||
else
|
||||
ifdef OS2_IMPLIB
|
||||
$(LIBRARY): $(OBJS) $(DEF_FILE)
|
||||
rm -f $@
|
||||
$(IMPLIB) $@ $(DEF_FILE)
|
||||
$(RANLIB) $@
|
||||
$(MOZ_POST_AR_LIB_COMMAND) $@
|
||||
else
|
||||
$(LIBRARY): $(OBJS)
|
||||
rm -f $@
|
||||
$(AR) $(LIBOBJS),,
|
||||
$(RANLIB) $@
|
||||
$(MOZ_POST_AR_LIB_COMMAND) $@
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -1487,11 +1487,12 @@ dnl = Enable stripping of .so and .a libs
|
||||
dnl =
|
||||
dnl ========================================================
|
||||
MOZ_POST_DSO_LIB_COMMAND=true
|
||||
MOZ_POST_AR_LIB_COMMAND=true
|
||||
MOZ_POST_PROGRAM_COMMAND=true
|
||||
|
||||
MOZ_ARG_ENABLE_BOOL(strip-libs,
|
||||
[ --enable-strip-libs Enable stripping of .so and .a libs ],
|
||||
[ MOZ_POST_DSO_LIB_COMMAND=strip MOZ_POST_AR_LIB_COMMAND=strip ])
|
||||
[ MOZ_POST_DSO_LIB_COMMAND=strip
|
||||
MOZ_POST_PROGRAM_COMMAND=strip ])
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
@ -1730,7 +1731,7 @@ AC_SUBST(MOZ_ENABLE_GTK_MOZILLA)
|
||||
AC_SUBST(MOZ_BUILD_ROOT)
|
||||
|
||||
AC_SUBST(MOZ_POST_DSO_LIB_COMMAND)
|
||||
AC_SUBST(MOZ_POST_AR_LIB_COMMAND)
|
||||
AC_SUBST(MOZ_POST_PROGRAM_COMMAND)
|
||||
|
||||
AC_SUBST(ClientWallet)
|
||||
AC_SUBST(CookieManagement)
|
||||
|
Loading…
x
Reference in New Issue
Block a user