Skip to content

Commit 3e4b5ea

Browse files
committed
Travis: Set extra ldflags to find boost_system
1 parent 69766c5 commit 3e4b5ea

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ before_install:
1010
- sudo apt-get update -qq
1111
- sudo apt-get install g++-5
1212
- sudo apt-get install libboost1.55-all-dev
13+
1314
install:
1415
- npm install
1516
before_script:
16-
- make CPP=g++-5
17+
- make CPP=g++-5 EXTRA_LDFLAGS=/usr/lib/x86_64-linux-gnu/
1718
script:
1819
- npm test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ THIRDPARTY=$(shell echo `pwd`/thirdparty)
77
AMQPCPP=$(THIRDPARTY)/amqpcpp
88

99
CXXFLAGS=-I$(THIRDPARTY)/json11/ -I$(AMQPCPP)/install/include/ -I$(AMQPCPP)/examples/rabbitmq_tutorials
10-
LDFLAGS=$(AMQPCPP)/install/lib/libamqpcpp.a.2.2.0 -lboost_system -pthread
10+
LDFLAGS=$(AMQPCPP)/install/lib/libamqpcpp.a.2.2.0 $(EXTRA_LDFLAGS) -lboost_system -pthread
1111

1212
all: repeat
1313

0 commit comments

Comments
 (0)