From 7761ce992c3f7e2f411f09e8fa4855cc2c8bf8b4 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 30 Jul 2007 21:25:14 -0400 Subject: [PATCH] Link with pthread to be safe. Signed-off-by: Anders Kaseorg --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0