forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-17 557c24d082b6ecb9bfe5407b77ae43fa7650a5dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Make sure libdir (SODIR) is created when running parallel make.
 
Upstream-Status: Inappropriate [configuration]
 
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
 
Index: git/librtmp/Makefile
===================================================================
--- git.orig/librtmp/Makefile
+++ git/librtmp/Makefile
@@ -115,6 +115,7 @@ install_base:    librtmp.a librtmp.pc
     cp librtmp.3 $(MANDIR)/man3
 
 install_so:    librtmp$(SO_EXT)
+    -mkdir -p $(SODIR)
     cp librtmp$(SO_EXT) $(SODIR)
     $(INSTALL_IMPLIB)
     cd $(SODIR); ln -sf librtmp$(SO_EXT) librtmp.$(SOX)