From: Anders Kaseorg Date: Tue, 31 Jul 2007 01:25:14 +0000 (-0400) Subject: Link with pthread to be safe. X-Git-Tag: 1.1^0 X-Git-Url: http://andersk.mit.edu/gitweb/nss_nonlocal.git/commitdiff_plain/7761ce992c3f7e2f411f09e8fa4855cc2c8bf8b4 Link with pthread to be safe. Signed-off-by: Anders Kaseorg --- diff --git a/Makefile b/Makefile index 58e185f..9545635 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CFLAGS = -O2 -Wall LD = ld ALL_CFLAGS = $(CFLAGS) -fPIC -ALL_LDFLAGS = $(LDFLAGS) -shared -Wl,-x +ALL_LDFLAGS = $(LDFLAGS) -shared -pthread -Wl,-x all: libnss_nonlocal.so.2 linktest