Ticket #38758: skip-libffi-install.patch

File skip-libffi-install.patch, 1.5 KB (added by howarth@…, 12 years ago)

patch to skip installation of libffi

  • Makefile.def

    old new  
    138138                   missing=maintainer-clean; };
    139139target_modules = { module= winsup; };
    140140target_modules = { module= libgloss; no_check=true; };
    141 target_modules = { module= libffi; };
     141target_modules = { module= libffi; no_install=true; };
    142142target_modules = { module= libjava; raw_cxx=true;
    143143                   extra_configure_flags="$(EXTRA_CONFIGARGS_LIBJAVA)"; };
    144144target_modules = { module= zlib; };
  • Makefile.in

    old new  
    3871038710@if target-libffi
    3871138711maybe-install-target-libffi: install-target-libffi
    3871238712
    38713 install-target-libffi: installdirs
    38714         @: $(MAKE); $(unstage)
    38715         @r=`${PWD_COMMAND}`; export r; \
    38716         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
    38717         $(NORMAL_TARGET_EXPORTS) \
    38718         (cd $(TARGET_SUBDIR)/libffi && \
    38719           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install)
     38713# Dummy target for uninstallable.
     38714install-target-libffi:
    3872038715
    3872138716@endif target-libffi
    3872238717
     
    3872538720@if target-libffi
    3872638721maybe-install-strip-target-libffi: install-strip-target-libffi
    3872738722
    38728 install-strip-target-libffi: installdirs
    38729         @: $(MAKE); $(unstage)
    38730         @r=`${PWD_COMMAND}`; export r; \
    38731         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
    38732         $(NORMAL_TARGET_EXPORTS) \
    38733         (cd $(TARGET_SUBDIR)/libffi && \
    38734           $(MAKE) $(TARGET_FLAGS_TO_PASS)  install-strip)
     38723# Dummy target for uninstallable.
     38724install-strip-target-libffi:
    3873538725
    3873638726@endif target-libffi
    3873738727