File scpm-1.1.7-no_static_linking.patch of Package scpm

Index: src/libscpm/Makefile
===================================================================
--- src/libscpm/Makefile.orig	2005-07-23 15:08:13.000000000 +0200
+++ src/libscpm/Makefile	2009-03-18 03:48:54.000000000 +0100
@@ -8,7 +8,7 @@ libscpm-schemes.so:	libscpm-schemes.c
 			gcc -g -o libscpm-schemes.so -I../../include -shared libscpm-schemes.c
 
 libscpm.so.$(LIBVERSION):	../main ../modules ../scdb
-		g++ -shared -fPIC -o libscpm.so.$(LIBVERSION) -Xlinker --whole-archive ../main/libmain.a ../modules/libmodules.a ../scdb/libscdb.a -Xlinker -static -lmhash -Xlinker -call_shared -Xlinker --no-whole-archive -Wl,-soname,libscpm.so.$(APIVERSION)
+		g++ -shared -fPIC -o libscpm.so.$(LIBVERSION) -Xlinker --whole-archive ../main/libmain.a ../modules/libmodules.a ../scdb/libscdb.a -Xlinker -lmhash -Xlinker -call_shared -Xlinker --no-whole-archive -Wl,-soname,libscpm.so.$(APIVERSION)
 		ln -sf libscpm.so.$(LIBVERSION) libscpm.so
 clean:
 		rm -f libscpm.so.$(LIBVERSION) libscpm.o libscpm++.so libscpm-schemes.so libscpm.so