From: Andreas Tille Last-Update: 2015-07-10 Description: -lrt does not help only for Linux but also for freebsd This is a copy of the patch written for the bwa Debian package. Forwarded: https://github.com/lh3/bwa/pull/312 --- a/bwa-apache2/Makefile +++ b/bwa-apache2/Makefile @@ -20,6 +20,9 @@ ifeq ($(shell uname -s),GNU/kFreeBSD) LIBS += -lrt endif +ifeq ($(shell uname -s),GNU/kFreeBSD) + LIBS += -lrt +endif .SUFFIXES:.c .o .cc