--- meschach-1.2b/makefile.in.org	2009-08-20 21:46:39.000000000 -0400
+++ meschach-1.2b/makefile.in	2009-08-20 21:51:15.000000000 -0400
@@ -115,7 +115,7 @@
 #	$(CC) -shared -o libmeschach.so $(OLDLIST)
 
 shared:   $(ALL_LISTS)
-	$(CC) -shared -o libmeschach.so $(ALL_LISTS) -lc -lm -Wl,-soname -Wl,libmeschach.so.$(vers)
+	$(CC) -dynamiclib -o libmeschach.@VERSION@.dylib $(ALL_LISTS) -lc -lm -install_name @PREFIX@/lib/libmeschach.1.dylib -compatibility_version @VERSION@ -current_version @VERSION@
 
 static:  $(ALL_LISTS)
 	ar ru libmeschach.a $(ALL_LISTS)