Skip to content

Commit

Permalink
arm 64 libs
Browse files Browse the repository at this point in the history
  • Loading branch information
burak-58 committed Feb 15, 2021
1 parent 1610ff6 commit 92d855d
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 8 deletions.
18 changes: 16 additions & 2 deletions src/main/assembly/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,22 @@

<!-- NATIVE LIBRARIES -->
<fileSet>
<directory>${project.basedir}/src/main/server/lib/native</directory>
<outputDirectory>lib/native</outputDirectory>
<directory>${project.basedir}/src/main/server/lib/native-mac</directory>
<outputDirectory>lib/native-mac</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/server/lib/native-linux-x86</directory>
<outputDirectory>lib/native-linux-x86</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/server/lib/native-linux-arm64</directory>
<outputDirectory>lib/native-linux-arm64</outputDirectory>
<includes>
<include>*</include>
</includes>
Expand Down
19 changes: 16 additions & 3 deletions src/main/assembly/server_enterprise.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
<!-- Below libs are generic we need custom builds which are under src/main/server/plugins
and they will copied later in this file -->
<exclude>ffmpeg*linux-x86.jar</exclude>
<exclude>ffmpeg*linux-arm64.jar</exclude>
<exclude>ffmpeg*linux-armhf.jar</exclude>
<exclude>ffmpeg*android*.jar</exclude>
<exclude>ffmpeg*ppc64le.jar</exclude>
Expand Down Expand Up @@ -151,8 +150,22 @@

<!-- NATIVE LIBRARIES -->
<fileSet>
<directory>${project.basedir}/src/main/server/lib/native</directory>
<outputDirectory>lib/native</outputDirectory>
<directory>${project.basedir}/src/main/server/lib/native-mac</directory>
<outputDirectory>lib/native-mac</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/server/lib/native-linux-x86_64</directory>
<outputDirectory>lib/native-linux-x86_64</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/server/lib/native-linux-aarch64</directory>
<outputDirectory>lib/native-linux-aarch64</outputDirectory>
<includes>
<include>*</include>
</includes>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
1 change: 0 additions & 1 deletion src/main/server/lib/native/libtcnative-1.dylib

This file was deleted.

5 changes: 3 additions & 2 deletions src/main/server/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,14 @@ case "$OS" in
P=";" # Since these are actually Windows, let Java know
;;
Linux*)
LD_LIBRARY_PATH=$RED5_HOME/lib/native
ARCH=`uname -m`
LD_LIBRARY_PATH=$RED5_HOME/lib/native-linux-$ARCH
export LD_LIBRARY_PATH
# Native path
NATIVE="-Djava.library.path=$LD_LIBRARY_PATH"
;;
Darwin*)
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$RED5_HOME/lib/native
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$RED5_HOME/lib/native-mac
export DYLD_LIBRARY_PATH
# Native path
NATIVE="-Djava.library.path=$DYLD_LIBRARY_PATH"
Expand Down

0 comments on commit 92d855d

Please sign in to comment.