Browse Source

Link with -lrt

The newer glibc isn't that common yet.
tags/v0.9
Přemysl Janouch 6 years ago
parent
commit
641aff5f57
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Makefile

+ 2
- 1
Makefile View File

@@ -5,7 +5,8 @@ CC = clang
CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-function \
-ggdb -fsanitize=address,undefined
# -lpthread is only there for debugging (gdb & errno)
LDFLAGS = `pkg-config --libs libssl` -lpthread
# -lrt is only for glibc < 2.17
LDFLAGS = `pkg-config --libs libssl` -lpthread -lrt

.PHONY: all clean
.SUFFIXES:

Loading…
Cancel
Save