Set SONAME
authorJelmer Vernooij <jelmer@samba.org>
Thu, 19 May 2005 16:15:22 +0000 (17:15 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 19 May 2005 16:15:22 +0000 (17:15 +0100)
Makefile

index ef12f9e2ddc633d43a68716ac9307d15330de8fa..3229e027a5fe63105e2682c3a5f2206a52876d70 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ ptb.dll: $(PTBLIB_OBJS)
        $(CC) -shared $(CFLAGS) -Wl,--out-implib=ptb.dll.a -o $@ $^
 
 libptb.so.$(VERSION): $(PTBLIB_OBJS:.o=.po)
-       $(CC) -shared $(CFLAGS) -o $@ $^
+       $(CC) -Wl,-soname,libptb.so.0 -shared $(CFLAGS) -o $@ $^
 
 libptb.a: $(PTBLIB_OBJS)
        $(AR) rs $@ $^