From 58cbd32b612aadf8327a1c2f5834f5ff91a0fdb1 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 1 Oct 2011 09:02:56 -0500 Subject: [PATCH] adjusts library and example makefiles for new boost library dependencies --- Makefile | 2 +- examples/chat_client/Makefile | 4 ++-- examples/chat_server/Makefile | 2 +- examples/echo_server/Makefile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 127ca3abf6..75ecb2e9f0 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ objects = websocket_server_session.o websocket_client_session.o websocket_session.o websocket_server.o websocket_client.o websocket_frame.o \ network_utilities.o sha1.o base64.o -libs = -lboost_system -lboost_date_time -lboost_regex +libs = -lboost_system -lboost_date_time -lboost_regex -lboost_random OS=$(shell uname) diff --git a/examples/chat_client/Makefile b/examples/chat_client/Makefile index 27a68398e6..19d4151bca 100644 --- a/examples/chat_client/Makefile +++ b/examples/chat_client/Makefile @@ -5,9 +5,9 @@ CXX ?= c++ SHARED ?= "1" ifeq ($(SHARED), 1) - LDFLAGS := $(LDFLAGS) -lboost_system -lboost_thread -lboost_date_time -lboost_regex -lwebsocketpp + LDFLAGS := $(LDFLAGS) -lboost_system -lboost_thread -lwebsocketpp else - LDFLAGS := $(LDFLAGS) -lboost_system -lboost_thread -lboost_date_time -lboost_regex ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) -lboost_system -lboost_thread -lboost_date_time -lboost_regex -lboost_random ../../libwebsocketpp.a endif chat_client: chat_client.o chat_client_handler.o diff --git a/examples/chat_server/Makefile b/examples/chat_server/Makefile index a91db10f3e..882386ceee 100644 --- a/examples/chat_server/Makefile +++ b/examples/chat_server/Makefile @@ -7,7 +7,7 @@ SHARED ?= "1" ifeq ($(SHARED), 1) LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lwebsocketpp else - LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lboost_regex -lboost_random ../../libwebsocketpp.a endif chat_server: chat_server.o chat.o diff --git a/examples/echo_server/Makefile b/examples/echo_server/Makefile index d6e1ec8d85..df12f2a59d 100644 --- a/examples/echo_server/Makefile +++ b/examples/echo_server/Makefile @@ -7,7 +7,7 @@ SHARED ?= "1" ifeq ($(SHARED), 1) LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lwebsocketpp else - LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time ../../libwebsocketpp.a + LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lboost_regex -lboost_random ../../libwebsocketpp.a endif echo_server: echo_server.o echo.o