Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit f95c2ba

Browse files
committed
Cleanup config file
There was a report (phpv8/v8js#264) and a fix (phpv8/v8js@90ca5cb) in v8js about missed natives_blob.bin. While php-v8 is not affected directly, it partially uses v8js config so this is a port of that fix.
1 parent aa9fb6e commit f95c2ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ if test "$PHP_V8" != "no"; then
7676

7777
for static_link_extra_file in $static_link_extra; do
7878
AC_MSG_CHECKING([for $static_link_extra_file])
79+
static_link_dir=""
7980

8081
for i in $PHP_V8 $SEARCH_PATH ; do
8182
if test -r $i/lib64/$static_link_extra_file; then
@@ -90,7 +91,7 @@ if test "$PHP_V8" != "no"; then
9091

9192
if test -z "$static_link_dir"; then
9293
AC_MSG_RESULT([not found])
93-
AC_MSG_ERROR([Please provide $static_link_extra_file next to the libv8.so, see README.md for details])
94+
AC_MSG_ERROR([Please provide $static_link_extra_file next to the libv8.so])
9495
fi
9596

9697
LDFLAGS="$LDFLAGS $static_link_dir/$static_link_extra_file"

0 commit comments

Comments
 (0)