diff --git a/Formula/rtmpdump.rb b/Formula/rtmpdump.rb index 9958b43223..fb7db014f2 100644 --- a/Formula/rtmpdump.rb +++ b/Formula/rtmpdump.rb @@ -1,13 +1,48 @@ require 'formula' class Rtmpdump $(CRYPTO_LIB) ++ $(CC) -shared $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB) + ln -sf $@ librtmp.so + + log.o: log.c log.h Makefile +@@ -87,5 +87,8 @@ + cp librtmp.so.0 $(LIBDIR) + cd $(LIBDIR); ln -sf librtmp.so.0 librtmp.so + ++install_dylib: librtmp.dylib ++ cp librtmp.dylib $(LIBDIR) ++ + install_dll: librtmp.dll + cp librtmp.dll $(BINDIR) +