diff --git a/source/src/Makefile b/source/src/Makefile index feb84dc6..0d9d0aeb 100644 --- a/source/src/Makefile +++ b/source/src/Makefile @@ -115,7 +115,10 @@ SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) -I../include SERVER_LIBS= -L../lib -lzdll -lenet -lws2_32 -lwinmm else SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) -SERVER_LIBS= -L../enet/.libs -lenet -lz -lpthread -lrt +SERVER_LIBS= -L../enet/.libs -lenet -lz -lpthread +ifeq (,$(findstring OpenBSD,$(PLATFORM))) +SERVER_LIBS+= -lrt +endif endif SERVER_OBJS= \