fix linkage issue for *BSD system

openbsd does not have librt

(commit derived from #167)
This commit is contained in:
David Carlier
2017-03-08 15:17:12 +01:00
committed by ac-stef
parent 4d2d326136
commit baa44b5eb2
+4 -1
View File
@@ -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= \