-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libjpeg-turbo: Change library name on Android
When using libjpeg-turbo as a shared object (libjpeg.so) on Android, there are crashes when accessing JPEG functions on some arm devices. Static linking increases binary size when the library is used by multiple other shared objects (Qt plugin, GDAL, Poppler, TIFF). Assuming that the issue is related to some other "libjpeg.so", try to resolve the dynamic linking issue by changing the filename to "libjpeg-turbo.so" in Android builds. Some depending libraries can find the alternative name via pkg-config. Depending CMake projects must be configured with -DJPEG_NAMES=jpeg-turbo. GDAL needs an individual patch.
- Loading branch information
Showing
5 changed files
with
141 additions
and
3 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