Skip to content

Commit 1a31e22

Browse files
committed
Merge pull request #7 from chenzhiwei/lib-path
Smart choose the Mesos libs path
2 parents 4112393 + bb54e03 commit 1a31e22

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ AC_ARG_WITH([mesos_build_dir],
3636

3737
if test -d "$mesos"; then
3838
MESOS_CPPFLAGS="-I${mesos}/include"
39-
MESOS_LDFLAGS="-L${mesos}/lib64 -lmesos -lglog -lprotobuf"
39+
if test -d "${mesos}/lib"; then
40+
MESOS_LDFLAGS="-L${mesos}/lib -lmesos -lglog -lprotobuf"
41+
else
42+
MESOS_LDFLAGS="-L${mesos}/lib64 -lmesos -lglog -lprotobuf"
43+
fi
4044
else
4145

4246
if test -d "$mesos_root"; then

0 commit comments

Comments
 (0)