Skip to content

Commit

Permalink
fix Travis CI build for V8 versions 6.{1,2,3}
Browse files Browse the repository at this point in the history
Added `-rpath` linker option in Makefile
  • Loading branch information
pmed committed Jun 16, 2018
1 parent f9bde4e commit 516b751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AR = ar
ARFLAGS = rcs

INCLUDES = -I. -I./v8pp -isystem./v8/include -isystem./v8 -isystem/usr -isystem/usr/lib -isystem/opt/libv8-${V8_VERSION}/include
LIBS = -L./v8/lib -L/opt/libv8-${V8_VERSION}/lib -lv8 -lv8_libplatform -lv8_libbase -licui18n -licuuc -L. -Wl,-whole-archive -lv8pp -Wl,-no-whole-archive -ldl -lpthread
LIBS = -L./v8/lib -L/opt/libv8-${V8_VERSION}/lib -Wl,-rpath,/opt/libv8-${V8_VERSION}/lib -lv8 -lv8_libplatform -lv8_libbase -licui18n -licuuc -L. -Wl,-whole-archive -lv8pp -Wl,-no-whole-archive -ldl -lpthread

.cpp.o:
$(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
Expand Down

0 comments on commit 516b751

Please sign in to comment.