mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-09 16:28:41 +00:00
Check lib64 dir for libplatform as well.
This commit is contained in:
parent
35e5fbb1fc
commit
9f082a057b
@ -145,8 +145,12 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <v8-debug.h>]],
|
||||
AC_MSG_CHECKING([for $static_link_extra_file])
|
||||
|
||||
for i in $PHP_V8JS $SEARCH_PATH ; do
|
||||
if test -r $i/lib64/$static_link_extra_file; then
|
||||
static_link_dir=$i/lib64
|
||||
AC_MSG_RESULT(found in $i)
|
||||
fi
|
||||
if test -r $i/lib/$static_link_extra_file; then
|
||||
static_link_dir=$i
|
||||
static_link_dir=$i/lib
|
||||
AC_MSG_RESULT(found in $i)
|
||||
fi
|
||||
done
|
||||
@ -156,7 +160,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <v8-debug.h>]],
|
||||
AC_MSG_ERROR([Please provide $static_link_extra_file next to the libv8.so, see README.md for details])
|
||||
fi
|
||||
|
||||
LDFLAGS="$LDFLAGS $static_link_dir/lib/$static_link_extra_file"
|
||||
LDFLAGS="$LDFLAGS $static_link_dir/$static_link_extra_file"
|
||||
done
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user