--- fill/Makefile~ 2012-10-26 01:02:48.000000000 +0800 +++ fill/Makefile 2012-12-07 12:07:09.120148293 +0800 @@ -37,7 +37,7 @@ CFLAGS = $(shell python-config --cflags) \ -fPIC -LDFLAGS = $(shell python-config --libs) +LIBS = $(shell python-config --libs) ARCH_OUT = $(shell arch) @@ -58,7 +58,7 @@ touch $(LIB_DIR)/__init__.py _fill.so: fill.o eggfill.o fillmodule.o - $(LD) $(LDFLAGS) -shared $^ -o $@ + $(LD) $(LDFLAGS) -shared $^ -o $@ $(LIBS) #DEFS=`pkg-config --variable=defsdir pygtk-2.0` # Generate the C wrapper