aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-15 17:29:37 +0100
committerMattias Andrée <maandree@kth.se>2022-02-15 17:29:37 +0100
commit229257cd3b8ebf5cc6e7b9dce4173e1e133a1e73 (patch)
treed42ab50bed35d594c3520217c02a988c6fd1c9f4
parentAdd libar2simplified_decode_r (diff)
downloadlibar2simplified-229257cd3b8ebf5cc6e7b9dce4173e1e133a1e73.tar.gz
libar2simplified-229257cd3b8ebf5cc6e7b9dce4173e1e133a1e73.tar.bz2
libar2simplified-229257cd3b8ebf5cc6e7b9dce4173e1e133a1e73.tar.xz
Fix deps
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile2
-rw-r--r--config.mk2
-rw-r--r--libar2simplified_crypt.32
-rw-r--r--libar2simplified_hash.32
-rw-r--r--libar2simplified_init_context.32
5 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 544886c..40c9ad0 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ test.o: test.c $(HDR)
$(CC) -fPIC -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
test: test.o libar2simplified.a
- $(CC) -o $@ test.o libar2simplified.a $(LDFLAGS)
+ $(CC) -o $@ test.o libar2simplified.a $(LDFLAGS) -lrt
libar2simplified.a: $(OBJ)
@rm -f -- $@
diff --git a/config.mk b/config.mk
index 1ab83ad..5445241 100644
--- a/config.mk
+++ b/config.mk
@@ -5,4 +5,4 @@ CC = cc
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
CFLAGS = -std=c11 -Wall -g -pthread
-LDFLAGS = -lar2 -lblake -pthread -lrt
+LDFLAGS = -lar2 -lblake -pthread
diff --git a/libar2simplified_crypt.3 b/libar2simplified_crypt.3
index b2851e5..ca5c368 100644
--- a/libar2simplified_crypt.3
+++ b/libar2simplified_crypt.3
@@ -10,7 +10,7 @@ char *libar2simplified_crypt(char *\fImsg\fP, const char *\fIparams\fP, char *\f
.fi
.PP
Link with
-.IR "-lar2simplified -lar2 -lblake -lrt -pthread" .
+.IR "-lar2simplified -lar2 -lblake -pthread" .
.SH DESCRIPTION
The
diff --git a/libar2simplified_hash.3 b/libar2simplified_hash.3
index 71f0bd0..0c5e0e5 100644
--- a/libar2simplified_hash.3
+++ b/libar2simplified_hash.3
@@ -10,7 +10,7 @@ int libar2simplified_hash(void *\fIhash\fP, void *\fImsg\fP, size_t \fImsglen\fP
.fi
.PP
Link with
-.IR "-lar2simplified -lar2 -lblake -lrt -pthread" .
+.IR "-lar2simplified -lar2 -lblake -pthread" .
.SH DESCRIPTION
The
diff --git a/libar2simplified_init_context.3 b/libar2simplified_init_context.3
index c6abae7..e920b83 100644
--- a/libar2simplified_init_context.3
+++ b/libar2simplified_init_context.3
@@ -10,7 +10,7 @@ void libar2simplified_init_context(struct libar2_context *ctxp);
.fi
.PP
Link with
-.IR "-lar2simplified -lrt -pthread" .
+.IR "-lar2simplified -pthread" .
.SH DESCRIPTION
The