summaryrefslogtreecommitdiff
path: root/lang/kefir/files/patch-source_Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/kefir/files/patch-source_Makefile.mk')
-rw-r--r--lang/kefir/files/patch-source_Makefile.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/kefir/files/patch-source_Makefile.mk b/lang/kefir/files/patch-source_Makefile.mk
new file mode 100644
index 000000000000..723722ce9f08
--- /dev/null
+++ b/lang/kefir/files/patch-source_Makefile.mk
@@ -0,0 +1,11 @@
+--- source/Makefile.mk.orig 2025-10-15 22:39:36 UTC
++++ source/Makefile.mk
+@@ -68,7 +68,7 @@ $(LIBKEFIR_SO).$(LIBKEFIR_SO_VERSION): $(KEFIR_LIB_OBJ
+ $(LIBKEFIR_SO).$(LIBKEFIR_SO_VERSION): $(KEFIR_LIB_OBJECT_FILES)
+ @mkdir -p $(shell dirname "$@")
+ @echo "Linking $@"
+- @$(CCLD) -shared -o $@ $(KEFIR_LIB_OBJECT_FILES) $(LDFLAGS)
++ @$(CCLD) -shared -Wl,-soname=$(shell basename "$@") -o $@ $(KEFIR_LIB_OBJECT_FILES) $(LDFLAGS)
+ ifneq (,$(findstring release,$(PROFILE)))
+ @echo "Stripping $@"
+ @$(STRIP) $@