changeset 689:43a4216d3dc1 trunk

[svn] Attach a SONAME to all .so's.
author nenolod
date Sat, 25 Feb 2006 13:15:05 -0800
parents cc1969408403
children 85fa136c9edf
files mk/objective.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mk/objective.mk	Sat Feb 25 12:11:20 2006 -0800
+++ b/mk/objective.mk	Sat Feb 25 13:15:05 2006 -0800
@@ -122,7 +122,7 @@
 	if test "x$(OBJECTS)" != "x"; then \
 		make $(OBJECTS);		\
 		printf "%10s     %-20s\n" LINK $@; \
-		$(CC) -fPIC -DPIC -shared -o $@ $(OBJECTS) $(LDFLAGS) $(LIBADD); \
+		$(CC) -fPIC -DPIC -shared -o $@ -Wl,-soname=$@ $(OBJECTS) $(LDFLAGS) $(LIBADD); \
 	fi
 
 %.a: $(OBJECTS)