--- a/src/server/Makefile Wed Dec 28 22:02:08 2011 +0100 +++ b/src/server/Makefile Thu Dec 29 18:51:23 2011 +0100 @@ -30,7 +30,7 @@ OBJ_DIR = $(BUILD_ROOT)build/ CFLAGS = -I/usr/include/mps -g -LDFLAGS = -L/usr/lib/mps -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lposix4 -lsocket -lnsl -lgen -lm -R/usr/lib/mps -l sendfile +LDFLAGS = -L/usr/lib/mps -R/usr/lib/mps -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lposix4 -lsocket -lnsl -lgen -lm -lsendfile -pg MAIN_TARGET = $(BUILD_ROOT)work/bin/webservd