chiark / gitweb /
changed build arrangements, added version number, in preparation for productisation
[chiark-tcl.git] / base / shlib.make
index 50eeae089ad8b3037949ef3ecb76dfe478f54e61..e69ea6c64d54d007eed54ca1e40f1a5a4a5a0b77 100644 (file)
@@ -5,4 +5,5 @@ OBJS +=         $(OBJS_CFILES)
 TARGETS +=     $(SHLIB).so
 
 $(SHLIB).so:   $(OBJS)
-               $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared $(OBJS) $(LDLIBS)
+               $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared \
+                       -Xlinker -soname=$@ $(OBJS) $(LDLIBS)