[rtmpdump] branch master updated. f1b83c1 Fix race condition in the librtmp install target.

rtmpdump at mplayerhq.hu rtmpdump at mplayerhq.hu
Fri Feb 19 19:55:46 EET 2021

The branch, master has been updated
       via  f1b83c10d8beb43fcc70a6e88cf4325499f25857 (commit)
      from  c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 (commit)

- Log -----------------------------------------------------------------
commit f1b83c10d8beb43fcc70a6e88cf4325499f25857
Author:     orbea <orbea-ml at riseup.net>
AuthorDate: Fri Feb 19 16:41:00 2021 +0000
Commit:     Howard Chu <hyc at highlandsun.com>
CommitDate: Fri Feb 19 17:54:54 2021 +0000

    Fix race condition in the librtmp install target.

diff --git a/librtmp/Makefile b/librtmp/Makefile
index 2c1c790..568fc71 100644
--- a/librtmp/Makefile
+++ b/librtmp/Makefile
@@ -108,13 +108,14 @@ librtmp.pc: librtmp.pc.in Makefile
 install:	install_base $(SO_INST)
 install_base:	librtmp.a librtmp.pc
-	-mkdir -p $(INCDIR) $(LIBDIR)/pkgconfig $(MANDIR)/man3 $(SODIR)
+	-mkdir -p $(INCDIR) $(LIBDIR)/pkgconfig $(MANDIR)/man3
 	cp amf.h http.h log.h rtmp.h $(INCDIR)
 	cp librtmp.a $(LIBDIR)
 	cp librtmp.pc $(LIBDIR)/pkgconfig
 	cp librtmp.3 $(MANDIR)/man3
 install_so:	librtmp$(SO_EXT)
+	-mkdir -p $(SODIR)
 	cp librtmp$(SO_EXT) $(SODIR)
 	cd $(SODIR); ln -sf librtmp$(SO_EXT) librtmp.$(SOX)


Summary of changes:
 librtmp/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


More information about the rtmpdump mailing list