File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -779,8 +779,12 @@ PHP_HELP_SEPARATOR([Other settings:])
779
779
AC_MSG_CHECKING([whether to enable versioning])
780
780
AC_ARG_ENABLE(versioning,
781
781
[ --enable-versioning Export only required symbols.
782
- See INSTALL for more information],[
783
- PHP_VERSIONING=$enableval
782
+ See INSTALL for more information], [
783
+ if test "x$APXS" != "x"; then
784
+ PHP_VERSIONING=$enableval
785
+ else
786
+ PHP_VERSIONING=no
787
+ fi
784
788
],[
785
789
PHP_VERSIONING=no
786
790
])
@@ -789,7 +793,7 @@ AC_MSG_RESULT([$PHP_VERSIONING])
789
793
if test "$PHP_VERSIONING" = "yes"; then
790
794
test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym"
791
795
if test -f "$PHP_SYM_FILE"; then
792
- EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE"
796
+ EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS "
793
797
fi
794
798
fi
795
799
You can’t perform that action at this time.
0 commit comments