--- src/api/c++/src/Makefile.in.orig	Sat Jun 23 13:55:51 2001
+++ src/api/c++/src/Makefile.in	Mon Jul  2 21:59:07 2001
@@ -11,7 +11,7 @@
 all: 
 	$(MAKE) ../lib/libsqlrclient.a; \
 	if ( test ! -n "@MINGW32@" -a ! -n "@CYGWIN@" -a ! -n "@UWIN@" ); then \
-		$(MAKE) ../lib/libsqlrclient.so.$(VERSION); \
+		$(MAKE) ../lib/libsqlrclient.so.$(SOVERSION); \
 	else \
 		$(MAKE) ../lib/libsqlrclient.dll; \
 	fi
@@ -31,7 +31,7 @@
 	$(RM) $@
 	$(STATICAR) $@ $(OBJS)
 
-../lib/libsqlrclient.so.$(VERSION): $(SRCS) $(OBJS)
+../lib/libsqlrclient.so.$(SOVERSION): $(SRCS) $(OBJS)
 	$(DYNAMICAR) $@ $(OBJS)
 
 ../lib/libsqlrclient.dll: $(SRCS) $(OBJS)
@@ -44,8 +44,8 @@
 	$(INSTALL) -m 644 ../lib/libsqlrclient.a $(libdir); \
 	if ( test ! -n "@MINGW32@" -a ! -n "@CYGWIN@" -a ! -n "@UWIN@" ); then \
 		$(RM) $(libdir)/libsqlrclient.so*; \
-		$(INSTALL) ../lib/libsqlrclient.so.$(VERSION) $(libdir); \
-		$(SYMLINK) $(libdir)/libsqlrclient.so.$(VERSION) $(libdir)/libsqlrclient.so; \
+		$(INSTALL) ../lib/libsqlrclient.so.$(SOVERSION) $(libdir); \
+		$(SYMLINK) $(libdir)/libsqlrclient.so.$(SOVERSION) $(libdir)/libsqlrclient.so; \
 	else \
 		$(INSTALL) ../lib/libsqlrclient.dll $(libdir); \
 		$(INSTALL) ../lib/libsqlrclient.lib $(libdir); \
