summaryrefslogtreecommitdiff
path: root/llbuild/Makefile.include
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2007-05-25 00:47:25 +0300
committerLauri Leukkunen <lle@rahina.org>2007-05-25 00:47:25 +0300
commite7d50001a7be6e5fda37a1378e956ca01f6eab73 (patch)
tree3180a442f1f5e7d3bae279be3dfbc6859b7887a4 /llbuild/Makefile.include
parent52c128922c6ad78e5503307e0fba763c56c2c7bf (diff)
Produce libsb2.so with SONAME in place1.99.0.5
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
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