Index: libstxxl1-1.2.1/make.settings.gnu
===================================================================
--- libstxxl1-1.2.1.orig/make.settings.gnu	2010-02-10 19:40:21.000000000 +0000
+++ libstxxl1-1.2.1/make.settings.gnu	2010-02-10 19:41:45.000000000 +0000
@@ -301,10 +301,10 @@
 DEPEXT	 = $(LIBNAME).d # extension of dependency files
 OBJEXT	 = $(LIBNAME).o	# extension of object files
 IIEXT	 = $(LIBNAME).ii
-LIBEXT	 = a		# static library file extension
+LIBEXT	 = so	# static library file extension
 EXEEXT	 = $(LIBNAME).bin # executable file extension
 RM	 = rm -f	# remove file command
-LIBGEN	 = ar cr	# library generation
+LIBGEN	 = g++ -shared -Wl,-soname=libstxxl.so.1 -lpthread -o# library generation
 OUT	 = -o		# output file option for the compiler and linker
 
 d	?= $(strip $(DEPEXT))
