-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the text relocation from the build
The x86 binaries were failing at runtime on Android because of text relocation that existed in the shared object. The text relocation was a result of the openssl library. This libary is not needed for J2V8 so it was removed. This change-set also updates the NDK to version 14 and updates the version of CMake that is used during the build. With this change-set applied, x86 and ARM builds should now work. The version was set to 5.1.0-SNAPSHOT, as we had lots of failed builds during 5.0. Change-Id: I1bef1e0226ddf2e209b48d3f6467bb287acc421f
- Loading branch information
Showing
8 changed files
with
15 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
echo "Preparing CMake..." | ||
curl https://cmake.org/files/v3.8/cmake-3.8.1-Linux-x86_64.sh -O | ||
curl https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.sh -O -L | ||
mkdir /opt/cmake | ||
chmod +x cmake-3.8.1-Linux-x86_64.sh | ||
./cmake-3.8.1-Linux-x86_64.sh --prefix=/opt/cmake --skip-license | ||
rm -rf cmake-3.8.1-Linux-x86_64.sh | ||
chmod +x cmake-3.13.2-Linux-x86_64.sh | ||
./cmake-3.13.2-Linux-x86_64.sh --prefix=/opt/cmake --skip-license | ||
rm -rf cmake-3.13.2-Linux-x86_64.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters