mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[bonnibel] Add SONAME to shared objects
Add -soname to the linker options when making shared libraries, so that they have a SONAME string in their DYNAMIC section.
This commit is contained in:
@@ -47,7 +47,7 @@ rule driver
|
||||
description = Linking driver [$target]:$name
|
||||
|
||||
rule lib
|
||||
command = $ld -shared $ldflags -o $out $in $libs
|
||||
command = $ld -shared -soname $soname $ldflags -o $out $in $libs
|
||||
description = Linking [$target]:$name
|
||||
|
||||
rule lib_static
|
||||
|
||||
Reference in New Issue
Block a user