mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-12 21:10:22 +03:00
Don't hardcode the -lrt, as OpenBSD does not have it.
This commit is contained in:
parent
034a08a8f0
commit
bb134950de
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ all: snac
|
|||||||
|
|
||||||
snac: snac.o main.o data.o http.o httpd.o webfinger.o \
|
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
|
activitypub.o html.o utils.o format.o upgrade.o mastoapi.o
|
||||||
$(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -lrt -pthread $(LDFLAGS) -o $@
|
$(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread $(LDFLAGS) -o $@
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $<
|
$(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $<
|
||||||
|
Loading…
Reference in New Issue
Block a user