--- Makefile.orig Thu Aug 2 22:36:24 2007 +++ Makefile Thu Aug 2 22:39:43 2007 @@ -3,8 +3,8 @@ CC = gcc AR = ar cru -CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -SOFLAGS = -shared -fPIC +CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC +SOFLAGS = -shared LDFLAGS = -lpthread LINKER = $(CC) @@ -29,7 +29,7 @@ all: $(TARGET) libspdict.so: $(LIBOBJS) - $(LINKER) $(SOFLAGS) $^ -o $@ + $(LINKER) $(SOFLAGS) $^ -o $@ -lstdc++ testdict: testdict.o $(LINKER) $(LDFLAGS) $^ -L. -lspdict -o $@