summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorZhaoming Luo <zhaoming1357@qq.com>2024-10-27 13:53:36 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-10-27 13:53:36 +0100
commit45fea1822d80d9bc5563febcb72afdcebefcf325 (patch)
treeb4b022379b2d2c71d5fbf7a4fd046a3dce8f6f82 /hurd
parent4ee15ee154ea02b9a25bdcf0fc8c97c77b0bb61f (diff)
Fixing a ld error in Data User-Server Translator Example
-lthreads cause ld: cannot find -lthreads: No such file or directory error
Diffstat (limited to 'hurd')
-rw-r--r--hurd/translator/writing/example.mdwn2
1 files changed, 1 insertions, 1 deletions
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_