From 6c556581e0d7137cd230b4569a0a833e9dae4e81 Mon Sep 17 00:00:00 2001 From: default Date: Sat, 13 Jan 2024 09:12:16 +0100 Subject: [PATCH] Rewritten a sentence to be clearer in README.md. --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2612b7d..04e80fd 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ all: snac snac: snac.o main.o data.o http.o httpd.o webfinger.o \ activitypub.o html.o utils.o format.o upgrade.o mastoapi.o - $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread $(LDFLAGS) -o $@ + $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto $(LDFLAGS) -pthread -o $@ .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $< diff --git a/README.md b/README.md index 6082d26..66eed4d 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ From version 2.27, `snac` includes support for the Mastodon API; if you are not make CFLAGS=-DNO_MASTODON_API ``` -If your compilation process complains about undefined references of `shm_open()` and `shm_unlink()` (it happens, for example, on 20.04.6 LTS), you need to tell `make` to add the `rt` library to the final linking command as follows: +If your compilation process complains about undefined references to `shm_open()` and `shm_unlink()` (it happens, for example, on Ubuntu 20.04.6 LTS), run it as: ```sh make LDFLAGS=-lrt