mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-10 20:00:51 +00:00
- Fixes https://github.com/termux/termux-packages/issues/27349 - Fixes build error `ld.lld: error: undefined symbol: cmCPackAppImageGenerator::cmCPackAppImageGenerator()` - The error is related to the new upstream feature "CPack AppImage generator". https://cmake.org/cmake/help/latest/cpack_gen/appimage.html There are two possible ways to fix it. One would be by entirely disabling all code related to the feature from the Termux build, and the other is to just fix the linking error, which is what this patch does. - Currently, the feature is not useful on Android because AppImage is unimplemented for Termux or Android, but in my opinion it is better to leave the feature enabled in the code, since actually, it is theoretically possible for there to be a Termux/Android AppImage, just nobody to my knowledge has ever successfully made one. All that would be necessary for AppImage to be possible on Android would be for someone to fully implement a port of the `appimagetool` command. I tried to before in the past, but I wasn't able to completely make it work only because of problems that I believe are probably possible to fix some day with enough work. If the `appimagetool` command is implemented in the future by someone, CMake should be able to automatically detect and use it for this feature.