File blocxx-2.1.0-asneeded.dif of Package blocxx

--- blocxx-2.1.0/configure.in
+++ blocxx-2.1.0/configure.in	2009/07/09 19:57:51
@@ -368,9 +368,9 @@ case "$target" in
 	PLAT_CFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe"
 	PLAT_CXXFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe"
 	CXXCOMMONLINKFLAGS=""
-	CXXBINLINKFLAGS="-Wl,-Bdynamic -lpthread -Wl,-E $LDFLAGS"
-	CBINLINKFLAGS="-Wl,-Bdynamic -lpthread $LDFLAGS"
-	CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) -lpthread'
+	CXXBINLINKFLAGS="-Wl,-Bdynamic -pthread -Wl,-E $LDFLAGS"
+	CBINLINKFLAGS="-Wl,-Bdynamic -pthread $LDFLAGS"
+	CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) -pthread'
 	PLAT_OPTFLAGS="-O3"
 	LIB_EXT="so"
 	STATIC_LINK_FLAGS="-Wl,-Bstatic"
--- blocxx-2.1.0/examples/sharedLibs/SharedLibMakefile
+++ blocxx-2.1.0/examples/sharedLibs/SharedLibMakefile	2009/07/09 20:32:31
@@ -14,11 +14,11 @@ DEBUGFLAGS =
 endif
 
 DEFS = -D_REENTRANT 
-LIBS = -lpthread -L$(BLOCXXLIBDIR) -lopenwbem 
+LIBS = -pthread -L$(BLOCXXLIBDIR) -lopenwbem 
 
 INCLUDES = -I$(BLOCXXINCDIR)
 CXX = g++
-CXXFLAGS = $(DEBUGFLAGS) $(INCLUDES) $(DEFS) -Werror -Wall -fPIC
+CXXFLAGS = $(DEBUGFLAGS) $(INCLUDES) $(DEFS) -Werror -Wall -fPIC -pthread
 
 SRCS = \
 derivedDummyLib.cpp dummyLib.cpp