Add back in missing -lpthread. Fixes #1127.

This commit is contained in:
Adam Sutton 2012-08-17 19:38:47 +01:00
parent 00576fd737
commit 76e785578b
2 changed files with 2 additions and 1 deletions

View file

@ -32,7 +32,7 @@ CFLAGS += -Wmissing-prototypes -fms-extensions
CFLAGS += -g -funsigned-char -O2
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -I${BUILDDIR} -I${CURDIR}/src -I${CURDIR}
LDFLAGS += -lrt -ldl
LDFLAGS += -lrt -ldl -lpthread
#
# Binaries/Scripts

View file

@ -330,6 +330,7 @@ function write_config
ROOTDIR ?= ${ROOTDIR}
BUILDDIR ?= ${ROOTDIR}/build.${PLATFORM}
OSENV ?= ${OSENV}
ARCH = ${ARCH}
CFLAGS += ${CFLAGS}
LDFLAGS += ${LDFLAGS}
EOF