OSDN Git Service

added perm inheritance from ffmpeg_g (it looks like 'strip' in BeOS doesn't keep...
authorFrançois Revol <revol@free.fr>
Sat, 2 Nov 2002 10:31:37 +0000 (10:31 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Nov 2002 10:31:37 +0000 (10:31 +0000)
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1143 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 9e2d203..259130e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ ffmpeg_g$(EXE): ffmpeg.o $(DEP_LIBS)
               -lavformat -lavcodec $(EXTRALIBS)
 
 ffmpeg$(EXE): ffmpeg_g$(EXE)
-       $(STRIP) -o $@ $<
+       $(STRIP) -o $@ $< ; chmod --reference=$< $@
 
 ffserver$(EXE): ffserver.o $(DEP_LIBS)
        $(CC) $(LDFLAGS) $(FFSLDFLAGS) \