mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
preliminary work to allow specifying custom paths to boost install
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
CFLAGS = -O2
|
||||
LDFLAGS =
|
||||
BOOST_LIB_PATH ?= /Users/zaphoyd/Documents/boost_1_48_0/stage/lib
|
||||
BOOST_INCLUDE_PATH ?= /Users/zaphoyd/Documents/boost_1_48_0
|
||||
|
||||
CFLAGS = -O2 -I$(BOOST_INCLUDE_PATH)
|
||||
LDFLAGS = -L$(BOOST_LIB_PATH)
|
||||
|
||||
CXX ?= c++
|
||||
SHARED ?= "1"
|
||||
@@ -7,7 +10,7 @@ SHARED ?= "1"
|
||||
ifeq ($(SHARED), 1)
|
||||
LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lboost_regex -lboost_unit_test_framework -lwebsocketpp
|
||||
else
|
||||
LDFLAGS := $(LDFLAGS) -lboost_system -lboost_date_time -lboost_regex -lboost_unit_test_framework ../../libwebsocketpp.a
|
||||
LDFLAGS := $(LDFLAGS) $(BOOST_LIB_PATH)/libboost_system.a $(BOOST_LIB_PATH)/libboost_date_time.a $(BOOST_LIB_PATH)/libboost_regex.a $(BOOST_LIB_PATH)/libboost_unit_test_framework.a ../../libwebsocketpp.a
|
||||
endif
|
||||
|
||||
tests: parsing.cpp
|
||||
|
||||
Reference in New Issue
Block a user