summaryrefslogtreecommitdiff
path: root/llbuild/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'llbuild/Makefile.include')
-rw-r--r--llbuild/Makefile.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/llbuild/Makefile.include b/llbuild/Makefile.include
index 4abb2c2..0d4f108 100644
--- a/llbuild/Makefile.include
+++ b/llbuild/Makefile.include
@@ -79,7 +79,7 @@ endef
define llbuild_link_shlib
@run_sources="$^"; \
run_target="$@"; \
- run_cmd="$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ $(LIBS)"; \
+ run_cmd="$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname=$(1) -o $@ $^ $(LIBS)"; \
run_alias="SHLIB"; \
$(ll_pretty_run)
endef