chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changed build arrangements, added version number, in preparation for productisation
[chiark-tcl.git]
/
base
/
shlib.make
diff --git
a/base/shlib.make
b/base/shlib.make
index 50eeae089ad8b3037949ef3ecb76dfe478f54e61..e69ea6c64d54d007eed54ca1e40f1a5a4a5a0b77 100644
(file)
--- a/
base/shlib.make
+++ b/
base/shlib.make
@@
-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)