Files
termux-packages/packages/libpluto/scripts-link_shared.php.patch
termux-pacman-bot 8b1452271b bump(main/libpluto): 0.12.1
- Fixes https://github.com/termux/termux-packages/issues/26126

> [!WARNING]
> robertkirkman has detected the presence of [CRLF line endings](https://en.wikipedia.org/wiki/Newline#Issues_with_different_newline_formats) in this software.
> Unfortunately, CRLF is something that robertkirkman is unable to work effectively with, so robertkirkman must always use the `dos2unix`
command to purge all instances of CRLF from their projects before doing
anything else, and unfortunately robertkirkman cannot develop in the
same repositories as users who need to use CRLF.
> If this is not acceptable to other maintainers of the `libpluto`
package, then unfortunately robertkirkman cannot directly help maintain the `libpluto` package (but CRLF users are free to copy and paste robertkirkman's patches, convert them back to CRLF, and use them in any way they like)
2025-10-14 16:41:21 +00:00

12 lines
278 B
Diff

--- a/scripts/link_shared.php
+++ b/scripts/link_shared.php
@@ -8,7 +8,7 @@ if (PHP_OS_FAMILY == "Darwin")
}
else
{
- $cmd = $compiler." -shared -o src/libpluto.so";
+ $cmd = $compiler." -shared -Wl,-soname,libpluto.so -o src/libpluto.so";
}
for_each_obj(function($file)