fix linkage issue for *BSD system
openbsd does not have librt (commit derived from #167)
This commit is contained in:
+4
-1
@@ -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= \
|
||||
|
||||
Reference in New Issue
Block a user