mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Only check linking in PHP_TEST_BUILD
Given that this executes a random function with zero parameters, actually executing the code doesn't make sense. This should fix the imap + asan build.
This commit is contained in:
parent
e5082af69f
commit
93745a242f
1 changed files with 1 additions and 3 deletions
|
@ -1626,7 +1626,7 @@ dnl
|
|||
AC_DEFUN([PHP_TEST_BUILD], [
|
||||
old_LIBS=$LIBS
|
||||
LIBS="$4 $LIBS"
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||
AC_LINK_IFELSE([AC_LANG_SOURCE([[
|
||||
$5
|
||||
char $1();
|
||||
int main() {
|
||||
|
@ -1639,8 +1639,6 @@ AC_DEFUN([PHP_TEST_BUILD], [
|
|||
],[
|
||||
LIBS=$old_LIBS
|
||||
$3
|
||||
],[
|
||||
LIBS=$old_LIBS
|
||||
])
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue