Skip to content

Commit

Permalink
fix scons build failed on ubuntu 13.10
Browse files Browse the repository at this point in the history
move '-lpthread' to after 'gtest_main.a',
otherwise the building will failed
  • Loading branch information
ericzhang-cn committed Jan 8, 2014
1 parent bcc12bc commit 25a9a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/SConscript
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os

env = Environment(
LIBS = ['pthread', 'gtest', 'gtest_main', 'ccard-lib.0.1'],
LIBS = ['gtest', 'gtest_main', 'pthread', 'ccard-lib.0.1'],
CPPPATH = ['../include'],
LIBPATH = ['../', '/usr/lib', '/usr/lib64', '/usr/local/lib', '/usr/local/lib64'],
RPATH = ['./', '../'],
Expand Down

0 comments on commit 25a9a90

Please sign in to comment.