mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update build, always patch st, for we need to build in raspberrypi directly
This commit is contained in:
parent
932850d894
commit
3932cf1334
2 changed files with 4 additions and 1 deletions
|
@ -225,6 +225,9 @@ else
|
||||||
(
|
(
|
||||||
rm -rf ${SRS_OBJS}/st-1.9 && cd ${SRS_OBJS} &&
|
rm -rf ${SRS_OBJS}/st-1.9 && cd ${SRS_OBJS} &&
|
||||||
unzip -q ../3rdparty/st-1.9.zip && cd st-1.9 &&
|
unzip -q ../3rdparty/st-1.9.zip && cd st-1.9 &&
|
||||||
|
echo "we alaways patch the st, for we may build srs under arm directly" &&
|
||||||
|
echo "the 1.st.arm.patch is ok for x86 because it's only modify code under macro linux arm" &&
|
||||||
|
patch -p0 < ../../3rdparty/patches/1.st.arm.patch &&
|
||||||
make linux-debug &&
|
make linux-debug &&
|
||||||
cd .. && rm -rf st && ln -sf st-1.9/obj st &&
|
cd .. && rm -rf st && ln -sf st-1.9/obj st &&
|
||||||
cd .. && rm -f ${SRS_OBJS}/_flag.st.arm.tmp
|
cd .. && rm -f ${SRS_OBJS}/_flag.st.arm.tmp
|
||||||
|
|
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// current release version
|
// current release version
|
||||||
#define VERSION_MAJOR "0"
|
#define VERSION_MAJOR "0"
|
||||||
#define VERSION_MINOR "9"
|
#define VERSION_MINOR "9"
|
||||||
#define VERSION_REVISION "37"
|
#define VERSION_REVISION "38"
|
||||||
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
|
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
|
||||||
// server info.
|
// server info.
|
||||||
#define RTMP_SIG_SRS_KEY "srs"
|
#define RTMP_SIG_SRS_KEY "srs"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue