summaryrefslogtreecommitdiff
blob: a2f82103f2c0224571a869c410c863ca78d9c243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- build/unix/Makefile	2007-04-30 09:55:46.000000000 -0700
+++ build/unix/Makefile	2007-04-30 09:57:32.000000000 -0700
@@ -124,7 +124,7 @@
 	$(AR) cr $@ $(ARCHIVE_MPTOBJS)
 
 $(SHARED_MPATROL).$(VERSION).$(REVISION): $(SHARED_MPTOBJS)
-	$(LD) $(LDFLAGS) -o $@ $(SHARED_MPTOBJS)
+	$(LD) $(LDFLAGS) -o $@ $(SHARED_MPTOBJS) -Wl,--soname=$(SHARED_MPATROL).$(VERSION)
 
 $(SHARED_MPATROL): $(SHARED_MPATROL).$(VERSION).$(REVISION)
 	@ ln -f -s $< $@
@@ -139,7 +139,7 @@
 	$(AR) cr $@ $(ARCHTS_MPTOBJS)
 
 $(SHARTS_MPATROL).$(VERSION).$(REVISION): $(SHARTS_MPTOBJS)
-	$(LD) $(LDFLAGS) -o $@ $(SHARTS_MPTOBJS)
+	$(LD) $(LDFLAGS) -o $@ $(SHARTS_MPTOBJS) -Wl,--soname=$(SHARTS_MPATROL).$(VERSION)
 
 $(SHARTS_MPATROL): $(SHARTS_MPATROL).$(VERSION).$(REVISION)
 	@ ln -f -s $< $@
@@ -154,7 +154,7 @@
 	$(AR) cr $@ $(ARCHIVE_MPAOBJS)
 
 $(SHARED_MPALLOC).$(VERSION).$(REVISION): $(SHARED_MPAOBJS)
-	$(LD) $(LDFLAGS) -o $@ $(SHARED_MPAOBJS)
+	$(LD) $(LDFLAGS) -o $@ $(SHARED_MPAOBJS) -Wl,--soname=$(SHARED_MPALLOC).$(VERSION)
 
 $(SHARED_MPALLOC): $(SHARED_MPALLOC).$(VERSION).$(REVISION)
 	@ ln -f -s $< $@