dexed/files/soname.patch

15 lines
482 B
Diff

--- dexed-d/dub.json 2023-09-18 09:41:22.000000000 +0300
+++ dexed-d/dub.json 2025-03-30 20:22:14.709180808 +0300
@@ -3,6 +3,11 @@
"targetType" : "dynamicLibrary",
"targetPath" : "../bin",
"targetName" : "dexed-d",
+ "lflags": ["-soname=libdexed-d.so.0"],
+ "postBuildCommands": [
+ "mv ../bin/libdexed-d.so ../bin/libdexed-d.so.0",
+ "ln -sf libdexed-d.so.0 ../bin/libdexed-d.so"
+ ],
"dependencies" : {
"libdparse" : {
"path" : "../etc/libdparse"