Ticket #178: mplayer-installstrip.patch

File mplayer-installstrip.patch, 1.1 KB (added by ville.skytta@…, 14 years ago)

Use $(INSTALLSTRIP) in libdha and vidix

  • libdha/Makefile

    diff -Naru MPlayer-1.0pre6.orig/libdha/Makefile MPlayer-1.0pre6/libdha/Makefile
    old new  
    7979
    8080install:
    8181        mkdir -p $(prefix)/lib
    82         install -m 755 -s -p $(LIBNAME) $(prefix)/lib/$(LIBNAME)
     82        install -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(prefix)/lib/$(LIBNAME)
    8383        rm -f $(prefix)/lib/libdha.so
    8484        ln -sf $(LIBNAME) $(prefix)/lib/$(SHORTNAME)
    8585ifeq ($(TARGET_OS),OpenBSD)
  • vidix/drivers/Makefile

    diff -Naru MPlayer-1.0pre6.orig/vidix/drivers/Makefile MPlayer-1.0pre6/vidix/drivers/Makefile
    old new  
    159159
    160160install:
    161161        mkdir -p $(LIBDIR)/mplayer/vidix
    162         -install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix
     162        -install -m 755 $(INSTALLSTRIP) -p *.so $(LIBDIR)/mplayer/vidix
     163
    163164uninstall:
    164165        rm -f $(LIBDIR)/mplayer/vidix/*.so
    165166        rmdir -p --ignore-fail-on-non-empty $(LIBDIR)/mplayer/vidix