From 45fea1822d80d9bc5563febcb72afdcebefcf325 Mon Sep 17 00:00:00 2001 From: Zhaoming Luo Date: Sun, 27 Oct 2024 13:53:36 +0100 Subject: Fixing a ld error in Data User-Server Translator Example -lthreads cause ld: cannot find -lthreads: No such file or directory error --- hurd/translator/writing/example.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/translator') diff --git a/hurd/translator/writing/example.mdwn b/hurd/translator/writing/example.mdwn index 0a3be4df..26a6353c 100644 --- a/hurd/translator/writing/example.mdwn +++ b/hurd/translator/writing/example.mdwn @@ -241,7 +241,7 @@ Makefile: CC = gcc MIG = mig CFLAGS = -Wall -g -D_GNU_SOURCE - LDFLAGS = -lthreads -lports -ltrivfs -lfshelp -lshouldbeinlibc + LDFLAGS = -lports -ltrivfs -lfshelp -lshouldbeinlibc -lpthread INCLUDES = -I. LCHDRS = MIGCOMSFLAGS = -prefix S_ -- cgit v1.2.3