mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-07 20:10:04 +00:00
14 lines
379 B
Diff
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)
|