0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-07 20:10:04 +00:00
termux-packages/packages/libpluto/scripts-link_shared.php.patch
2024-11-05 09:41:48 +05:30

14 lines
379 B
Diff

diff --git a/scripts/link_shared.php b/scripts/link_shared.php
index 09311c0..d69b8c9 100644
--- a/scripts/link_shared.php
+++ b/scripts/link_shared.php
@@ -9,7 +9,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)